1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-10 15:44:51 +02:00
This commit is contained in:
XhmikosR
2019-03-11 17:13:30 +02:00
parent c2b05dd7b5
commit ac67e04ce0
42 changed files with 5134 additions and 179 deletions

5
js/dist/alert.js vendored
View File

@@ -37,7 +37,8 @@
*/
var MILLISECONDS_MULTIPLIER = 1000;
var TRANSITION_END = 'transitionend';
var jQuery = window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
var _window = window,
jQuery = _window.jQuery; // Shoutout AngusCroll (https://goo.gl/pxwQGp)
var getSelectorFromElement = function getSelectorFromElement(element) {
var selector = element.getAttribute('data-target');
@@ -49,7 +50,7 @@
try {
return document.querySelector(selector) ? selector : null;
} catch (err) {
} catch (error) {
return null;
}
};