Skip to content

Commit

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

This reverts commit b1794ad.
  • Loading branch information
mpetroff committed Nov 22, 2019
1 parent cc2f3d9 commit cf5f4df
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 cf5f4df

Please sign in to comment.