Skip to content

Commit

Permalink
docs: Fix simple typo, submenut -> submenu
Browse files Browse the repository at this point in the history
There is a small typo in docs/scripts/collapse.js.

Should read `submenu` rather than `submenut`.
  • Loading branch information
timgates42 committed Sep 3, 2020
1 parent d1a6532 commit fdf5624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/scripts/collapse.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function hideAllButCurrent(){
//by default all submenut items are hidden
//by default all submenu items are hidden
//but we need to rehide them for search
document.querySelectorAll("nav > ul > li > ul li").forEach(function(parent) {
parent.style.display = "none";
Expand All @@ -17,4 +17,4 @@ function hideAllButCurrent(){
});
}

hideAllButCurrent();
hideAllButCurrent();

0 comments on commit fdf5624

Please sign in to comment.