mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
prevent tree autogrow if autogrow is disabled
This commit is contained in:
parent
986eeda89f
commit
9b80f45f7b
|
|
@ -8145,7 +8145,8 @@ var treectl = (function () {
|
|||
if (!QS(q))
|
||||
break;
|
||||
}
|
||||
nq = Math.max(nq, get_evpath().split('/').length - 2);
|
||||
if(r.dyn)
|
||||
nq = Math.max(nq, get_evpath().split('/').length - 2);
|
||||
var iw = (treesz + Math.max(0, nq)),
|
||||
w = iw + 'em',
|
||||
w2 = (iw + 1) + 'em';
|
||||
|
|
|
|||
Loading…
Reference in a new issue