diff --git a/templates/index.html b/templates/index.html index 4180ca9..8fba5f2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -958,7 +958,8 @@ // ======================================== // Tab Switching // ======================================== - function switchTab(tabName) { + // Expose switchTab globally so onclick handlers can access it + window.switchTab = function(tabName) { // Hide all tabs document.querySelectorAll('.tab-content').forEach(tab => { tab.classList.remove('active');