From 56a0499636ac560dea52daed22f2c1d86f5b3086 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 15 Nov 2024 20:04:13 +0000 Subject: [PATCH] fix gallery links when msel enabled --- copyparty/web/browser.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index c8ff461c..c6fea786 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -4138,6 +4138,12 @@ function eval_hash() { if (!im) return toast.warn(10, L.im_hnf); + if (thegrid.sel) + setTimeout(function () { + thegrid.sel = true; + }, 1); + + thegrid.sel = false; im.click(); im.scrollIntoView(); }, 50);