Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCARPi committed Oct 6, 2021
1 parent a6550cc commit caa8cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ function init () {
$('.sidenav').find('a.nav-list-item').each((index, el) => {
// begin by showing all so they don't stay hidden
$(el).show();
// now simply hide the ones that match the query
// now simply hide the ones that don't match the query
if (!el.innerText.toLowerCase().includes(query)) {
$(el).hide();
}
Expand Down

0 comments on commit caa8cb6

Please sign in to comment.