refactor: Consolidate tab initialization logic using shared utility function

This commit is contained in:
Jokob @NetAlertX committed 2026-02-27 10:07:55 +00:00
1 parent 9d64665599
commit 4c0d5c7376
5 files changed
+116 -87

No files matched your search

+7 -1
View File
@@ -330,7 +330,13 @@ function generateTabs() {
}
});
// Auto-select tab from ?tab= URL param or cache (scoped to plugin nav only)
initializeTabsShared({
cacheKey: 'activePluginsTab',
urlParamName: 'tab',
idSuffix: '_id',
tabContainer: '#tabs-location'
});
hideSpinner()
}