docs: Fix simple typo, submenut -> submenu

There is a small typo in docs/scripts/collapse.js.

Should read `submenu` rather than `submenut`.
pull/439/head
Tim Gates 4 years ago
parent d1a6532d82
commit fdf56240ce
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05

@ -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";
@ -17,4 +17,4 @@ function hideAllButCurrent(){
});
}
hideAllButCurrent();
hideAllButCurrent();

Loading…
Cancel
Save