rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.29k stars 864 forks source link

Callbacks inside "complete" do not fire under IE9 #111

Open ghost opened 11 years ago

ghost commented 11 years ago

If you use "complete" in order to fire a callback, it will not fire under IE9 (and other IE and older browsers too?)

Just for compatibility's sake it should work, as the rotate I use below works in IE9 but it never fires the callback, so it's doing the half the job.

$('#box15').click(function(event){ $(this).transition({ rotate: 45, complete: function() { $(this).html('Done').delay(300).transition({ rotate: 0 }, function(){ $(this).html(''); }); } }, 200); }); Tested under Windows 7 32-bit, IE9