remove unused code

pull/4898/head
Valentin Maerten 1 month ago
parent dfc691c6db
commit 9a8aabe550
No known key found for this signature in database
GPG Key ID: 2F8E54DDF815C341

@ -142,15 +142,13 @@ function handleQueryParamNavigation() {
const urlParams = new URLSearchParams(window.location.search)
if (urlParams.size === 0) return
const matches: HTMLElement[] = []
for (const [groupKey, tabValue] of urlParams.entries()) {
const groups = getCodeGroupsByKey(groupKey)
for (const group of groups) {
const input = findTabByTitle(group, tabValue)
if (input && activateTab(group, input)) {
matches.push(group)
if (input) {
activateTab(group, input)
}
}
}

Loading…
Cancel
Save