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) const urlParams = new URLSearchParams(window.location.search)
if (urlParams.size === 0) return if (urlParams.size === 0) return
const matches: HTMLElement[] = []
for (const [groupKey, tabValue] of urlParams.entries()) { for (const [groupKey, tabValue] of urlParams.entries()) {
const groups = getCodeGroupsByKey(groupKey) const groups = getCodeGroupsByKey(groupKey)
for (const group of groups) { for (const group of groups) {
const input = findTabByTitle(group, tabValue) const input = findTabByTitle(group, tabValue)
if (input && activateTab(group, input)) { if (input) {
matches.push(group) activateTab(group, input)
} }
} }
} }

Loading…
Cancel
Save