mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +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',
|
||||
ACTIVE: 'active'
|
||||
SHOW: 'show'
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -103,7 +103,7 @@ var Alert = function ($) {
|
||||
Alert.prototype._removeElement = function _removeElement(element) {
|
||||
var _this = this;
|
||||
|
||||
$(element).removeClass(ClassName.ACTIVE);
|
||||
$(element).removeClass(ClassName.SHOW);
|
||||
|
||||
if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) {
|
||||
this._destroyElement(element);
|
||||
|
Reference in New Issue
Block a user