button fixed
This commit is contained in:
1 parent
b40e5136a1
commit
fb879b1a23
3 files changed
+51
-28
No files matched your search
+7
-9
@@ -99,15 +99,13 @@ function showAdmin() {
|
||||
});
|
||||
|
||||
// Set default tab to tabWords and enable tab buttons
|
||||
setTimeout(() => {
|
||||
document.querySelectorAll('#adminTabs button').forEach(btn => btn.disabled = false);
|
||||
if (typeof window.switchTab === 'function') {
|
||||
window.switchTab("tabWords");
|
||||
console.log("✅ Default tab set to tabWords");
|
||||
} else {
|
||||
console.error("switchTab function not available");
|
||||
}
|
||||
}, 100);
|
||||
document.querySelectorAll('#adminTabs button').forEach(btn => btn.disabled = false);
|
||||
if (typeof window.switchTab === 'function') {
|
||||
window.switchTab("tabWords");
|
||||
console.log("✅ Default tab set to tabWords");
|
||||
} else {
|
||||
console.error("switchTab function not available");
|
||||
}
|
||||
} else {
|
||||
console.error("Admin panel not found");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user