2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00
This commit is contained in:
Mark Otto
2018-06-21 22:55:23 -07:00
parent e59265c42d
commit eadeab9d1c
36 changed files with 349 additions and 242 deletions
+1 -2
View File
@@ -76,8 +76,7 @@ var Util = function ($) {
}
try {
var $selector = $(document).find(selector);
return $selector.length > 0 ? selector : null;
return document.querySelector(selector) ? selector : null;
} catch (err) {
return null;
}