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