diff --git a/copyparty/web/baguettebox.js b/copyparty/web/baguettebox.js index 77d5a9338..50fd82166 100644 --- a/copyparty/web/baguettebox.js +++ b/copyparty/web/baguettebox.js @@ -705,6 +705,7 @@ window.baguetteBox = (function () { unbind(overlay, 'touchend', touchendHandler); unbind(document, 'focus', trapFocusInsideOverlay, true); timer.rm(rotn); + clearTimeout(unrot_timer); } function prepareOverlay(gallery, userOptions, cbz) {