From 3b8399fa3b5ba631b94fa866fb341e26e1f84580 Mon Sep 17 00:00:00 2001 From: Til Date: Tue, 5 May 2026 08:22:15 +0200 Subject: [PATCH] remove noscroll class when up2k is unmodaled --- copyparty/web/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index aa1ade2d..b01145c9 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -8888,8 +8888,10 @@ function apply_perms(res) { thegrid.setvis(); var up_only = !have_read && have_write; - if (up_only) + if (up_only){ goto('up2k'); + clmod(document.documentElement, 'noscroll', false); + } clmod(ebi('up2k'), 'unmodal', up_only); clmod(ebi('opa_mkd'), 'vis', up_only); }