Browse Source

Revert "Revert "Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before (#768).'"""""

This reverts commit 8c085f4055.
pull/813/head
Matthew Petroff 5 years ago
parent
commit
7700206de8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/js/pannellum.js

+ 2
- 2
src/js/pannellum.js View File

@@ -1676,10 +1676,10 @@ function renderInitCallback() {
preview = undefined; preview = undefined;
} }
loaded = true; loaded = true;

fireEvent('load');
animateInit(); animateInit();

fireEvent('load');
} }


/** /**


Loading…
Cancel
Save