mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 11:07:58 -05:00
Fixes #8353. Adds a catch block in resolveWith so that the finally block gets executed in IE7 and IE6.
This commit is contained in:
@@ -843,6 +843,12 @@ jQuery.extend({
|
||||
callbacks.shift().apply( context, args );
|
||||
}
|
||||
}
|
||||
// We have to add a catch block for
|
||||
// IE prior to 8 or else the finally
|
||||
// block will never get executed
|
||||
catch (e) {
|
||||
throw e;
|
||||
}
|
||||
finally {
|
||||
fired = [ context, args ];
|
||||
firing = 0;
|
||||
|
||||
Reference in New Issue
Block a user