From f1009c19b31c24df871b97efa74e8e10791bb2c3 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Tue, 23 Jul 2013 18:44:08 -0700 Subject: revert collapse change + add emulateTransitionEvent to catch dead css transitions --- js/alert.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'js/alert.js') 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() } -- cgit v1.2.3