diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index 4e143cd..21e6726 100644 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -124,6 +124,8 @@ function formatInfo(config, ascroll) { } function showOverlay(event) { + event.stopPropagation() + event.preventDefault() document.querySelectorAll('#video-overlay').forEach(element => element.remove()) var video = event.target var rect = video.getBoundingClientRect();