Browse Source

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

This reverts commit cf5f4df48a.
tags/2.5.6
Matthew Petroff 5 years ago
parent
commit
d0c38ece31
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