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:
parent
d1a6532d82
commit
fdf56240ce
@ -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…
Reference in New Issue
Block a user