From 3a356893ee0cc19c14750d027f9898e3827eb55d Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Tue, 5 May 2026 13:01:53 +0200 Subject: [PATCH] addition to last commit --- copyparty/web/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index f03570de..d839de24 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -7792,7 +7792,7 @@ var treectl = (function () { // wait for animation to finish (.15s), then set display to none if width still 0 setTimeout(function () { onresize(); - }, 150); + }, 170); }; function unmenter() { @@ -7880,7 +7880,7 @@ var treectl = (function () { function onresize(e) { if (!entreed || r.hidden){ - if(ebi('tree').style.width <= 0) + if(ebi('tree').style.width == '0px') ebi('tree').style.display = 'none'; return; }