nginx-interactive-index: Make .. work again
This fixes a regression introduced in
77eab2497a
, which moved the heading into a
thead and the file listing into a tbody. Therefore, the .. entry is now
the first entry and has been excluded by the rule that previously
excluded the header.
This commit is contained in:
parent
2c3e65cf5c
commit
0d9ec3383e
|
@ -64,7 +64,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
searchField.autofocus = true
|
||||
document.querySelector('body').insertBefore(searchField, document.querySelector('table'))
|
||||
|
||||
const rows = Array.from(document.querySelectorAll('tr:not(:first-child)'))
|
||||
const rows = Array.from(document.querySelectorAll('tbody tr'))
|
||||
|
||||
addZebraStripes(rows)
|
||||
|
||||
|
|
Loading…
Reference in a new issue