aboutsummaryrefslogtreecommitdiff
path: root/js/alert.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/alert.js')
-rw-r--r--js/alert.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/alert.js b/js/alert.js
index d9f64767c..6f3d072e9 100644
--- a/js/alert.js
+++ b/js/alert.js
@@ -56,7 +56,9 @@
}
$.support.transition && $parent.hasClass('fade') ?
- $parent.on($.support.transition.end, removeElement) :
+ $parent
+ .one($.support.transition.end, removeElement)
+ .emulateTransitionEnd(150) :
removeElement()
}