aboutsummaryrefslogtreecommitdiff
path: root/js/src/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/util.js')
-rw-r--r--js/src/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/util.js b/js/src/util.js
index 3008c2278..8165ab46f 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'
}