Skip to content

Commit

Permalink
Revert "Revert "Revert "Revert "Temporarily revert 'Move load event…
Browse files Browse the repository at this point in the history
… to fire after rendering instead of before (#768).'""""

This reverts commit d0c38ec.
  • Loading branch information
mpetroff committed Nov 26, 2019
1 parent ac321d0 commit 8c085f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/pannellum.js
Original file line number Diff line number Diff line change
Expand Up @@ -1676,10 +1676,10 @@ function renderInitCallback() {
preview = undefined;
}
loaded = true;

animateInit();

fireEvent('load');

animateInit();
}

/**
Expand Down

0 comments on commit 8c085f4

Please sign in to comment.