mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
use preferred key notation in search results
This commit is contained in:
parent
5125b9532f
commit
789724e348
|
@ -2576,7 +2576,7 @@ function find_file_col(txt) {
|
|||
for (var a = 0; a < tds.length; a++) {
|
||||
var spans = tds[a].getElementsByTagName('span');
|
||||
if (spans.length && spans[0].textContent == txt) {
|
||||
min = tds[a].getAttribute('class').indexOf('min') !== -1;
|
||||
min = (tds[a].getAttribute('class') || '').indexOf('min') !== -1;
|
||||
i = a;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue