From 4d44eedb3db6137f40ded7fcda34b11609ac0ada Mon Sep 17 00:00:00 2001 From: Noenandre <5470915+noenandre@users.noreply.github.com> Date: Sun, 23 Jul 2023 00:37:27 +0200 Subject: [PATCH] Too set autoLoad to false when adding a scene, seems too fix "Uncaught TypeError: Cannot set properties of undefined". --- modules/services/pannellum_photo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/pannellum_photo.js b/modules/services/pannellum_photo.js index 64dc0e7f5..62220bde7 100644 --- a/modules/services/pannellum_photo.js +++ b/modules/services/pannellum_photo.js @@ -118,7 +118,7 @@ export default { if ( !(key in _currScenes) ) { let newSceneOptions = { showFullscreenCtrl: false, - autoLoad: true, + autoLoad: false, compass: true, yaw: 0, type: 'equirectangular',