From d0c38ece315eb1d0bad73f768ca36d837ead160c Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Thu, 21 Nov 2019 20:45:06 -0500 Subject: [PATCH] Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before (#768).'""" This reverts commit cf5f4df48a97d120a9c1d308d44c1adea159bb39. --- src/js/pannellum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/pannellum.js b/src/js/pannellum.js index c18d782..ba02214 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -1676,10 +1676,10 @@ function renderInitCallback() { preview = undefined; } loaded = true; - - fireEvent('load'); animateInit(); + + fireEvent('load'); } /**