1
0
Fork 0
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:
Simon Vieille 2021-10-31 16:54:16 +01:00
parent 96ffdf93ea
commit d1faf881da

View file

@ -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)
}