diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index fe21bb0..1d15af8 100755 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -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'));