Fix js bug.
This commit is contained in:
parent
696dbf7ca6
commit
69b8dc7152
|
@ -477,8 +477,6 @@
|
|||
if (url == "?editmode=on") {
|
||||
$('.tab_content').css({'position': 'relative','display':'block'});
|
||||
}
|
||||
}
|
||||
annc_widget_nav();
|
||||
|
||||
//切換語言停留在同一頁
|
||||
if(window.location.pathname!="/")
|
||||
|
@ -506,7 +504,6 @@ function extendPanelWidget() {
|
|||
}
|
||||
}
|
||||
extendPanelWidget();
|
||||
|
||||
// member show tab scroll
|
||||
$('.nav-pills').scrollingTabs({
|
||||
scrollToTabEdge: true,
|
||||
|
@ -520,18 +517,14 @@ extendPanelWidget();
|
|||
'</div>'
|
||||
].join('')
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 當文件物件模型(DOM)載入後,執行init函數
|
||||
$(document).ready(function(){
|
||||
//RWD 自動縮放headerbannner
|
||||
function headerH() {
|
||||
if ($(window).width() < 768) {
|
||||
const navH = $('.layout-header .navbar-header').outerHeight();
|
||||
var navH = $('.layout-header .navbar-header').outerHeight();
|
||||
$('.header-banner').css('height', navH );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue