diff --git a/src/js/pannellum.js b/src/js/pannellum.js index de0f266..fbfede2 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -431,7 +431,8 @@ function init() { } } - uiContainer.classList.add('pnlm-grab'); + if (config.draggable) + uiContainer.classList.add('pnlm-grab'); uiContainer.classList.remove('pnlm-grabbing'); }