mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-18 12:39:41 +03:00
fix(util): use querySelector for ids
This commit is contained in:
+1
-1
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user