diff options
author | Johann-S <johann.servoire@gmail.com> | 2018-08-11 23:40:47 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2018-08-12 18:01:01 +0300 |
commit | eab9da5beb5a2fdba8be4e54dfcdac0de4eba2f6 (patch) | |
tree | 3902027fb0c53a081cbbb52072aee0a4b51a4f00 /js/src/util.js | |
parent | 6b92321f6a04f07e0a3531d0e546c3cc20867bdb (diff) |
fix(util): use querySelector for ids
Diffstat (limited to 'js/src/util.js')
-rw-r--r-- | js/src/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util.js b/js/src/util.js index 3008c22785..8165ab46f6 100644 --- a/js/src/util.js +++ b/js/src/util.js @@ -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' } |