1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-06 13:46:42 +02: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

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 = {