From 153239a99eb6828b5caefe7bc0619764de147ff3 Mon Sep 17 00:00:00 2001 From: Gabe Guarana <12452268+SpaceXCheeseWheel@users.noreply.github.com> Date: Thu, 22 Jan 2026 14:53:13 -0700 Subject: [PATCH] Fix switching back to grid view if temporary new file is left open --- copyparty/web/browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 1000f175..2bb4b79e 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -5570,6 +5570,7 @@ var thegrid = (function () { var ths = QSA('#ggrid>a'); for (var a = 0, aa = ths.length; a < aa; a++) { + if(ths[a].id == 'temp') continue; var tr = ebi(ths[a].getAttribute('ref')).closest('tr'), cl = tr.className || '';