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.
neomutt
Simon Bruder 2021-08-30 22:09:00 +02:00
parent 2c3e65cf5c
commit 0d9ec3383e
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 1 additions and 1 deletions

View File

@ -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)