Fix switching back to grid view if temporary new file is left open

This commit is contained in:
Gabe Guarana 2026-01-22 14:53:13 -07:00
parent 86b9b1fbf6
commit 153239a99e

View file

@ -5570,6 +5570,7 @@ var thegrid = (function () {
var ths = QSA('#ggrid>a'); var ths = QSA('#ggrid>a');
for (var a = 0, aa = ths.length; a < aa; 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'), var tr = ebi(ths[a].getAttribute('ref')).closest('tr'),
cl = tr.className || ''; cl = tr.className || '';