diff --git a/src/_h5ai/public/js/lib/ext/preview/preview.js b/src/_h5ai/public/js/lib/ext/preview/preview.js index 703b2b995..f4d9a9c39 100644 --- a/src/_h5ai/public/js/lib/ext/preview/preview.js +++ b/src/_h5ai/public/js/lib/ext/preview/preview.js @@ -267,11 +267,7 @@ const init = () => { if (ev.target.id === 'pv-overlay' || ev.target.id === 'pv-container') { exit(); } - }) - .on('mousedown', dropEvent) - .on('mousemove', dropEvent) - .on('keydown', dropEvent) - .on('keypress', dropEvent); + }); dom('#pv-spinner').hide(); dom('#pv-bar-prev, #pv-prev-area').on('click', prev);