mirror of
https://gitnet.fr/deblan/side_menu.git
synced 2025-12-18 05:10:50 +01:00
add timeout
This commit is contained in:
parent
96ffdf93ea
commit
d1faf881da
1 changed files with 1 additions and 2 deletions
|
|
@ -199,8 +199,7 @@ const updateTopMenu = function() {
|
|||
menuCache = menu.innerHTML + menu.nextSibling.innerHTML
|
||||
}
|
||||
|
||||
|
||||
for (let timeout of [300, 500, 700]) {
|
||||
for (let timeout of [300, 500, 700, 900, 1100]) {
|
||||
setTimeout(updateTopMenu, timeout)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue