diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index d43cd965..fac2b0e5 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -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';