fix(util): use querySelector for ids
This commit is contained in:
parent
6b92321f6a
commit
eab9da5beb
2 changed files with 14 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ const Util = (($) => {
|
|||
}
|
||||
|
||||
const validSelector = selector
|
||||
if (selector.charAt(0) === '#') {
|
||||
if (selector.charAt(0) === '#' && selector.indexOf(',') === -1) {
|
||||
selector = selector.substr(1)
|
||||
method = 'getElementById'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue