Fix bug.
This commit is contained in:
parent
2a02a99c8f
commit
4d54742586
|
@ -472,7 +472,12 @@
|
|||
}
|
||||
|
||||
// 在所有的頁面(包含首頁)執行下面這幾個函數
|
||||
window.has_topest_banner = ($('[data-pp="300"] .w-ad-banner').length != 0);
|
||||
if($('.header-banner .jp-jplayer').length == 0){
|
||||
$('.layout-header .header-banner .w-ba-banner').addClass('no-video');
|
||||
window.has_topest_banner = false;
|
||||
}else{
|
||||
window.has_topest_banner = true;
|
||||
}
|
||||
initdata1();
|
||||
orbit.sitemenuDropdown();
|
||||
orbit.goBackTop('top', 800);
|
||||
|
@ -707,6 +712,9 @@ function transdate(){
|
|||
window.clearTimeout(window.focus_timeout_id);
|
||||
}
|
||||
var _this = $(document.activeElement);//$(this);
|
||||
if(_this.is('body')){
|
||||
return;
|
||||
}
|
||||
if($('body').css('position') != 'fixed' && !_this.hasClass('close-screen-btn') && !_this.hasClass('navbar-toggle')){
|
||||
var ele_offset = _this[0].getBoundingClientRect().top;
|
||||
if(_this.parents('.kenjohn.navFixed').length == 0)
|
||||
|
|
|
@ -156,6 +156,7 @@ a#content{
|
|||
position: absolute;
|
||||
}
|
||||
}
|
||||
&:not(.no-video){
|
||||
@media screen and (min-width: 769px){
|
||||
height: 100vh!important;
|
||||
}
|
||||
|
@ -166,6 +167,7 @@ a#content{
|
|||
height: 720px!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.jp-jplayer{
|
||||
position: fixed;
|
||||
|
|
Loading…
Reference in New Issue