mirror of
https://github.com/9001/copyparty.git
synced 2026-06-22 14:02:53 -06:00
fix error when right clicking certain elements
This commit is contained in:
parent
a997455b5a
commit
121c0b06fb
|
|
@ -5740,7 +5740,11 @@ var thegrid = (function () {
|
|||
var ths = QSA('#ggrid>a');
|
||||
|
||||
for (var a = 0, aa = ths.length; a < aa; a++) {
|
||||
var tr = ebi(ths[a].getAttribute('ref')).closest('tr'),
|
||||
var ref = ths[a].getAttribute('ref');
|
||||
if (!ref)
|
||||
continue;
|
||||
var reft = ebi(ref);
|
||||
var tr = reft && reft.closest('tr'),
|
||||
cl = tr.className || '';
|
||||
|
||||
if (noq_href(ths[a]).endsWith('/'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue