From 9ac9f5e1c944f32e8d3962f41594118d137d9fd5 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Mon, 10 Nov 2025 14:04:42 +0100 Subject: [PATCH] Add print debugging to tab setup --- src/servala/static/js/bootstrap-tabs.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/servala/static/js/bootstrap-tabs.js b/src/servala/static/js/bootstrap-tabs.js index d382475..1d9eb89 100644 --- a/src/servala/static/js/bootstrap-tabs.js +++ b/src/servala/static/js/bootstrap-tabs.js @@ -3,15 +3,22 @@ (function() { 'use strict'; + console.log("Loading bootstrap tab setup") + const initBootstrapTabs = () => { + console.log("setting up bootstrap tabs") const customTabList = document.querySelectorAll('#myTab button[data-bs-toggle="tab"]'); + console.log("found custom tabs", customTabList) customTabList.forEach(function(tabButton) { new bootstrap.Tab(tabButton); + console.log("setting up custom tab", tabButton) }); const expertTabList = document.querySelectorAll('#expertTab button[data-bs-toggle="tab"]'); + console.log("found expert tabs", expertTabList) expertTabList.forEach(function(tabButton) { new bootstrap.Tab(tabButton); + console.log("setting up expert tab", tabButton) }); }