diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:22:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:22:02 +0000 |
commit | 8b9e5144f7af3bb0578d80ed619dd0743d0d5f0f (patch) | |
tree | c651acc917541c3ad4fc91eb30df52c2f07095fd /js/src/dom | |
parent | Adding upstream version 5.3.1+dfsg. (diff) | |
download | bootstrap-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.js | 2 |
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 = { |