diff --git a/src/js/pannellum.js b/src/js/pannellum.js index d435f09..95c22d6 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -137,6 +137,7 @@ function init() { } document.getElementById('page').className = 'grab'; + createHotSpots(); } function anError() { @@ -701,9 +702,6 @@ function processOptions() { config.autoRotate = config[key]; } } - - // Create hot spots - createHotSpots(); } function toggleFullWindow() {