summaryrefslogtreecommitdiffstats
path: root/js/src/dom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:22:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:22:02 +0000
commit8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f (patch)
treec651acc917541c3ad4fc91eb30df52c2f07095fd /js/src/dom
parentAdding upstream version 5.3.1+dfsg. (diff)
downloadbootstrap-html-8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f.tar.xz
bootstrap-html-8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f.zip
Adding upstream version 5.3.3+dfsg.upstream/5.3.3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/dom')
-rw-r--r--js/src/dom/selector-engine.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/dom/selector-engine.js b/js/src/dom/selector-engine.js
index 3cecf6f..a4d81f3 100644
--- a/js/src/dom/selector-engine.js
+++ b/js/src/dom/selector-engine.js
@@ -29,7 +29,7 @@ const getSelector = element => {
selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null
}
- return parseSelector(selector)
+ return selector ? selector.split(',').map(sel => parseSelector(sel)).join(',') : null
}
const SelectorEngine = {