focus up2k when dragging from browser

otherwise the toast tells you to drag onto a button that isn't visible
This commit is contained in:
AppleTheGolden 2025-11-01 20:38:18 +01:00
parent 2cc53ea151
commit d5678a0d88
No known key found for this signature in database
GPG key ID: F6AC8A62154C42AA

View file

@ -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)