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() {
|
||||
|
@ -503,8 +503,7 @@
|
|||
$('.mobile-menu').append($('.modules-menu'));
|
||||
$('.navbar-toggle').bind(orbit.ClickMenuHandler());
|
||||
}
|
||||
},500 )} else {
|
||||
fix_first_element();
|
||||
},500 )} else {
|
||||
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