mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 21:52:25 -06:00
fix relocation button for up2k in readonly folders
This commit is contained in:
parent
dbbabc374d
commit
94f70b647f
|
|
@ -9107,7 +9107,7 @@ function apply_perms(res) {
|
||||||
}
|
}
|
||||||
if(up_only && !up2k_lgcy){
|
if(up_only && !up2k_lgcy){
|
||||||
up2k_lgcy = !up2k_lgcy;
|
up2k_lgcy = !up2k_lgcy;
|
||||||
this.innerHTML = up2k_lgcy ? '<span>▲</span>' : '<span>▼</span>';
|
ebi('reloc_up').innerHTML = up2k_lgcy ? '<span>▲</span>' : '<span>▼</span>';
|
||||||
clmod(ebi('up2k'), 'unmodal', up2k_lgcy);
|
clmod(ebi('up2k'), 'unmodal', up2k_lgcy);
|
||||||
}
|
}
|
||||||
clmod(ebi('opa_mkd'), 'vis', up_only);
|
clmod(ebi('opa_mkd'), 'vis', up_only);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue