fix mobile menu
This commit is contained in:
parent
9b99086d5f
commit
ed5227aea1
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue