From 27f19814226a3044f6092ea958765a044b3ea162 Mon Sep 17 00:00:00 2001 From: ken Date: Fri, 10 Apr 2026 18:36:43 +0800 Subject: [PATCH] 'js' --- assets/javascripts/app.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/assets/javascripts/app.js b/assets/javascripts/app.js index ad029fc..02e2a0a 100644 --- a/assets/javascripts/app.js +++ b/assets/javascripts/app.js @@ -1163,6 +1163,16 @@ $(function() { // 執行補強(設定延遲確保 jPlayer 已生成 DOM) setTimeout(fixJPlayerAccessibility, 500); }); + + function removeHiddenElementsInsideBrand() { + // 選取 .navbar-brand 內部所有隱藏的元素 + $('.navbar-brand *').filter(function() { + return $(this).css('display') === 'none'; + }).remove(); // 徹底從 DOM 中移除該標籤 + } + + // 執行 function + removeHiddenElementsInsideBrand(); } forFreeGo(); @@ -2304,6 +2314,7 @@ $(function() { // 延遲 600 毫秒執行,確保動態元件已載入 setTimeout(wrapGoBackTop, 500); }); + // 執行 member等高計算,目前改用flexbox故mark掉 by ika 20160105 // $(window).load(function() { // if ($('.index-member-3').length && $(window).width() > 992) {