diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/assets/js/bootstrap-alerts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/assets/js/bootstrap-alerts.js b/examples/assets/js/bootstrap-alerts.js index 53692f8e2..e27ac6482 100644 --- a/examples/assets/js/bootstrap-alerts.js +++ b/examples/assets/js/bootstrap-alerts.js @@ -45,6 +45,8 @@ close: function () { var that = this + this.$element.removeClass('in') + function removeElement () { that.$element.remove() that.$element = null @@ -53,8 +55,6 @@ $.support.transition && this.$element.hasClass('fade') ? this.$element.bind(transitionEnd, removeElement) : removeElement() - - this.$element.removeClass('in') } } |
