This commit is contained in:
ken 2026-07-30 15:14:30 +08:00
parent 128b7a4229
commit 15ecac815d
1 changed files with 4 additions and 5 deletions

View File

@ -3251,8 +3251,7 @@ $(document).ready(function() {
}, 500);
});
});
// 這段要放在所有其他 ready 之前執行
$(document).ready(function () {
setTimeout(function() {
// 1. 先移除 main-content 裡面的重複 orbit-bar
$('#main-content #orbit-bar').remove();
@ -3264,17 +3263,17 @@ $(document).ready(function () {
}
// 3. resize 時也防止累積
$(window).off('resize.orbitbar').on('resize.orbitbar', function () {
$(window).off('resize.orbitbar').on('resize.orbitbar', function() {
if ($('.orbit-bar-title').length > 1) {
$('.orbit-bar-title').not(':first').remove();
}
});
});
setTimeout(function() {
// 4. 移除 orbit-bar-logo 裡面重複的 img
$('.orbit-bar-logo').each(function() {
$(this).find('img').not(':first').remove();
});
}, 600);
// 執行 member等高計算目前改用flexbox故mark掉 by ika 20160105
// $(window).load(function() {