gj
This commit is contained in:
parent
5d63949e98
commit
374ff3433e
@ -2058,9 +2058,10 @@ var msel = (function () {
|
|||||||
var tr = ebi('files').tBodies[0].rows;
|
var tr = ebi('files').tBodies[0].rows;
|
||||||
for (var a = 0; a < tr.length; a++) {
|
for (var a = 0; a < tr.length; a++) {
|
||||||
var td = tr[a].cells[1],
|
var td = tr[a].cells[1],
|
||||||
href = td.firstChild.getAttribute('href'),
|
ao = td.firstChild,
|
||||||
|
href = ao.getAttribute('href'),
|
||||||
isdir = href.split('?')[0].slice(-1)[0] == '/',
|
isdir = href.split('?')[0].slice(-1)[0] == '/',
|
||||||
txt = href.textContent;
|
txt = ao.textContent;
|
||||||
|
|
||||||
td.setAttribute('sortv', (isdir ? '\t' : '') + txt);
|
td.setAttribute('sortv', (isdir ? '\t' : '') + txt);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user