mirror of
https://github.com/9001/copyparty.git
synced 2026-02-27 05:53:11 -07:00
Fix switching back to grid view if temporary new file is left open
This commit is contained in:
parent
86b9b1fbf6
commit
153239a99e
|
|
@ -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 || '';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue