2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Fix collapse multiple ids target (#38989)

This commit is contained in:
Louis-Maxime Piton
2023-09-13 09:30:32 +02:00
committed by GitHub
parent d1d49ffe1d
commit 9900cf33c0
2 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -26,10 +26,10 @@ const getSelector = element => {
hrefAttribute = `#${hrefAttribute.split('#')[1]}`
}
selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null
selector = hrefAttribute && hrefAttribute !== '#' ? parseSelector(hrefAttribute.trim()) : null
}
return parseSelector(selector)
return selector
}
const SelectorEngine = {