mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -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))
|
if (!QS(q))
|
||||||
break;
|
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)),
|
var iw = (treesz + Math.max(0, nq)),
|
||||||
w = iw + 'em',
|
w = iw + 'em',
|
||||||
w2 = (iw + 1) + 'em';
|
w2 = (iw + 1) + 'em';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue