diff options
Diffstat (limited to 'web_src/js/utils/dom.js')
-rw-r--r-- | web_src/js/utils/dom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/utils/dom.js b/web_src/js/utils/dom.js index 59c455e2ab..fffe9c6109 100644 --- a/web_src/js/utils/dom.js +++ b/web_src/js/utils/dom.js @@ -51,7 +51,7 @@ export function isElemHidden(el) { return res[0]; } -export function queryElemSiblings(el, selector) { +export function queryElemSiblings(el, selector = '*') { return Array.from(el.parentNode.children).filter((child) => child !== el && child.matches(selector)); } |