mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
apparently the html dom-property is not normalized
This commit is contained in:
parent
6659ab3881
commit
726030296f
|
@ -1541,11 +1541,11 @@ var thegrid = (function () {
|
||||||
tr = td.parentNode;
|
tr = td.parentNode;
|
||||||
|
|
||||||
if (/\/(\?|$)/.test(href)) {
|
if (/\/(\?|$)/.test(href)) {
|
||||||
var ta = QSA('#treeul li>a+a'),
|
var ta = QSA('#treeul a.hl+ul>li>a+a'),
|
||||||
ahref = this.href;
|
txt = oth.textContent.slice(0, -1);
|
||||||
|
|
||||||
for (var a = 0, aa = ta.length; a < aa; a++) {
|
for (var a = 0, aa = ta.length; a < aa; a++) {
|
||||||
if (ta[a].href == ahref) {
|
if (ta[a].textContent == txt) {
|
||||||
in_tree = ta[a];
|
in_tree = ta[a];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue