mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: nav: setIntervalfor navigation resize
This commit is contained in:
1 file changed
+1
@@ -105,6 +105,7 @@ const navigationPage = new AutoloadPage('navigationPage', () => {
|
||||
|
||||
$('.header__hamburger').on('click', () => slideout.toggle());
|
||||
$(window).on('resize', handleNavbar);
|
||||
setInterval(handleNavbar, 3000);
|
||||
}, () => {
|
||||
$trigger = $(tpl`
|
||||
<li class="nav__list-item nav_more" data-dropdown-pos="bottom right" data-dropdown-target="#menu-nav-more">
|
||||
|
||||
Reference in new issue
Block a user