fix: remove crash-causing market references from dashboard.js

This commit is contained in:
2026-07-26 23:56:49 +08:00
parent 865a239a7e
commit 55a1fb00df
-3
View File
@@ -115,9 +115,6 @@ const PageDashboard = {
categoryList.querySelectorAll('.category-item').forEach(el => el.classList.remove('active')); categoryList.querySelectorAll('.category-item').forEach(el => el.classList.remove('active'));
item.classList.add('active'); item.classList.add('active');
this._currentCategory = item.dataset.cat; 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(); this._loadThemes();
}); });
} }