From d5678a0d88dad7f0b0fa80fa0406f92874c318e5 Mon Sep 17 00:00:00 2001 From: AppleTheGolden Date: Sat, 1 Nov 2025 20:38:18 +0100 Subject: [PATCH] focus up2k when dragging from browser otherwise the toast tells you to drag onto a button that isn't visible --- copyparty/web/up2k.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index d4dd375d..d6b8a0c6 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1065,8 +1065,11 @@ function up2k_init(subtle) { if (toast.txt == L.u_uri) toast.hide(); } - else + else { + if (!QS('#op_up2k.act')) + goto('up2k'); return toast.inf(10, L.u_uri) || true; + } } if (!ok)