aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.js b/src/core.js
index 036b2db6b..1e7250f60 100644
--- a/src/core.js
+++ b/src/core.js
@@ -837,6 +837,8 @@ jQuery.extend({
// resolve with given context and args
resolveWith: function( context, args ) {
if ( !cancelled && !fired && !firing ) {
+ // make sure args are available (#8421)
+ args = args || [];
firing = 1;
try {
while( callbacks[ 0 ] ) {