fix mobile menu

This commit is contained in:
rulingcom 2023-04-09 20:38:18 +08:00
parent 9b99086d5f
commit ed5227aea1
1 changed files with 3 additions and 3 deletions

View File

@ -325,7 +325,7 @@
// orbit.nav.setDropdown();
orbit.MobileMenu();
$('.mobile-menu').append($('.modules-menu'));
orbit.ClickMenuHandler();
//orbit.ClickMenuHandler();
}
// 自適應網頁使用當使用者改變瀏覽器寬度時呼叫orbit.nav.setDropdown函數
@ -338,11 +338,11 @@
}
if( $('.mobile-menu .modules-menu').length == 0 ) {
$('.mobile-menu').append($('.modules-menu'));
$('.navbar-toggle').bind(orbit.ClickMenuHandler());
//$('.navbar-toggle').bind(orbit.ClickMenuHandler());
}
},500 )} else {
orbit.MobileMenu();
orbit.ClickMenuHandler();
//orbit.ClickMenuHandler();
resizeTimer = setTimeout(function(){
if( $('.mobile-menu .modules-menu').length > 0 ) {
$('.layout-header .container').append($('.modules-menu'));