mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
remove noscroll class when up2k is unmodaled
This commit is contained in:
parent
fa45fbe704
commit
3b8399fa3b
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue