From 8c085f40550da37775ec2c7d94c729873ef2562d Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Tue, 26 Nov 2019 12:47:30 -0500 Subject: [PATCH] Revert "Revert "Revert "Revert "Temporarily revert 'Move `load` event to fire after rendering instead of before (#768).'"""" This reverts commit d0c38ece315eb1d0bad73f768ca36d837ead160c. --- 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 aa2b2fda..c3efab26 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -1676,10 +1676,10 @@ function renderInitCallback() { preview = undefined; } loaded = true; - - animateInit(); fireEvent('load'); + + animateInit(); } /**