v3.1.1: Fix mobile tabs not initializing on mobile devices

This commit is contained in:
Spicy_Marinara
2026-01-08 00:12:19 +01:00
parent a3063aff4f
commit be05051a39
4 changed files with 13 additions and 52 deletions
+3 -1
View File
@@ -874,9 +874,11 @@ async function initUI() {
// Setup mobile toggle button
setupMobileToggle();
// Setup desktop tabs (only on desktop viewport)
// Setup tabs based on viewport
if (window.innerWidth > 1000) {
setupDesktopTabs();
} else {
setupMobileTabs();
}
// Setup collapse/expand toggle button