mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 19:31:35 +02:00
grunt
This commit is contained in:
4
js/dist/alert.js
vendored
4
js/dist/alert.js
vendored
@@ -38,7 +38,7 @@ var Alert = function ($) {
|
||||
var ClassName = {
|
||||
ALERT: 'alert',
|
||||
FADE: 'fade',
|
||||
IN: 'in'
|
||||
ACTIVE: 'active'
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -101,7 +101,7 @@ var Alert = function ($) {
|
||||
};
|
||||
|
||||
Alert.prototype._removeElement = function _removeElement(element) {
|
||||
$(element).removeClass(ClassName.IN);
|
||||
$(element).removeClass(ClassName.ACTIVE);
|
||||
|
||||
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
|
||||
this._destroyElement(element);
|
||||
|
Reference in New Issue
Block a user