Fix bug.
This commit is contained in:
parent
51ba300b4d
commit
f7602493a9
|
@ -491,8 +491,8 @@
|
|||
$(window).resize(function() {
|
||||
var navFixed = $('.kenjohn.navFixed');
|
||||
window.top_barrier_height = (navFixed.length ? navFixed.height() : 0) + $('#orbit-bar').height();
|
||||
fix_first_element();
|
||||
if ($(window).outerWidth() < 769) {
|
||||
fix_first_element(true);
|
||||
if (resizeTimer) clearTimeout(resizeTimer);
|
||||
$('.outdropdowns').before($('.header-nav'));
|
||||
resizeTimer = setTimeout(function() {
|
||||
|
@ -504,7 +504,6 @@
|
|||
$('.navbar-toggle').bind(orbit.ClickMenuHandler());
|
||||
}
|
||||
},500 )} else {
|
||||
fix_first_element();
|
||||
resizeTimer = setTimeout(function(){
|
||||
if( $('.mobile-menu .modules-menu').length > 0 ) {
|
||||
$('.navbar-header').after($('.modules-menu'));
|
||||
|
|
|
@ -507,9 +507,6 @@ body{
|
|||
overflow: visible!important;
|
||||
}
|
||||
//內頁
|
||||
.inner-page{
|
||||
padding: 50px 0;
|
||||
}
|
||||
.internal-page{
|
||||
background-color: #fff;
|
||||
.kenjohn {
|
||||
|
|
Loading…
Reference in New Issue