diff options
Diffstat (limited to 'js/dist/alert.js')
-rw-r--r-- | js/dist/alert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/alert.js b/js/dist/alert.js index 42446f405b..f742a61f23 100644 --- a/js/dist/alert.js +++ b/js/dist/alert.js @@ -78,7 +78,7 @@ var Alert = function ($) { var parent = false; if (selector) { - parent = $(selector)[0]; + parent = document.querySelector(selector); } if (!parent) { |