mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
dist
This commit is contained in:
Vendored
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user