From 9623f77ad6e49e38575ea2708c851422d58646bb Mon Sep 17 00:00:00 2001 From: Matthew Petroff Date: Wed, 28 Dec 2022 15:28:10 -0500 Subject: [PATCH] Actually fix it this time. --- src/js/pannellum.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/pannellum.js b/src/js/pannellum.js index 96beacf..76eb06f 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -3074,7 +3074,7 @@ this.setUpdate = function(bool) { * @returns {Viewer} `this` */ this.updateOnce = function() { - updateOnce = true; + update = updateOnce = true; if (renderer === undefined) onImageLoad(); else