From f318ef9a2f29814a2681edaaba4cfdb3d0f29391 Mon Sep 17 00:00:00 2001 From: kgva CMS Date: Tue, 11 Aug 2026 19:01:07 +0000 Subject: [PATCH] fix: hovering .. no longer clears the preview pane MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the .. row has no image/video/text of its own, so the preview fell through to the blank-everything branch — most noticeable on video projects, where the video would stop and vanish. now non-preview rows just leave whatever was last shown in place. --- assets/js/filebrowser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/filebrowser.js b/assets/js/filebrowser.js index 52cfbee..c18f980 100644 --- a/assets/js/filebrowser.js +++ b/assets/js/filebrowser.js @@ -49,7 +49,8 @@ if (src) { showImg(src); hideTexts(); hidePlayer(); } else if (vid) { if (img) img.hidden = true; hideTexts(); showPlayer(); } else if (tkey) { if (img) img.hidden = true; hidePlayer(); showText(tkey); } - else { if (img) img.hidden = true; hideTexts(); hidePlayer(); } + // rows with no preview of their own (".." above all) leave whatever was + // last shown in place instead of blanking the pane out if (cap) { var n = a.querySelector(".tui__name");