1
0
mirror of https://github.com/lancedikson/bowser synced 2025-06-13 13:03:52 +00:00

docs: Fix simple typo, submenut -> submenu

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

Should read `submenu` rather than `submenut`.
This commit is contained in:
Tim Gates 2020-09-04 06:27:38 +10:00
parent d1a6532d82
commit fdf56240ce
No known key found for this signature in database
GPG Key ID: AE3BE0D53823CF05

View File

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