From 55a1fb00df3fcb1dfd46953f128ada49d26ff4b3 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sun, 26 Jul 2026 23:56:49 +0800 Subject: [PATCH] fix: remove crash-causing market references from dashboard.js --- static/js/pages/dashboard.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/static/js/pages/dashboard.js b/static/js/pages/dashboard.js index 418dec4..a707dfc 100644 --- a/static/js/pages/dashboard.js +++ b/static/js/pages/dashboard.js @@ -115,9 +115,6 @@ const PageDashboard = { categoryList.querySelectorAll('.category-item').forEach(el => el.classList.remove('active')); item.classList.add('active'); this._currentCategory = item.dataset.cat; - this._marketMode = false; - document.getElementById('btn-market-tab').classList.remove('active'); - document.getElementById('dash-search-box').style.display = 'flex'; this._loadThemes(); }); }