diff options
Diffstat (limited to 'js/src/util')
-rw-r--r-- | js/src/util/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/util/index.js b/js/src/util/index.js index 7c317b0162..a1af87aa47 100644 --- a/js/src/util/index.js +++ b/js/src/util/index.js @@ -1,4 +1,3 @@ -import SelectorEngine from '../dom/selector-engine' /** * -------------------------------------------------------------------------- @@ -120,7 +119,7 @@ const getElement = obj => { } if (typeof obj === 'string' && obj.length > 0) { - return SelectorEngine.findOne(obj) + return document.querySelector(obj) } return null |