From bf04081b6c45f8644fac8914a91c6f3395dd8ad3 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Mon, 9 May 2011 00:53:09 +0200 Subject: [PATCH] Makes sure repeatable lists with memory are properly locked. --- src/callbacks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callbacks.js b/src/callbacks.js index 0d126f80..bf86575e 100644 --- a/src/callbacks.js +++ b/src/callbacks.js @@ -191,7 +191,7 @@ jQuery.Callbacks = function( flags, filter ) { }, // Call all callbacks with the given context and arguments fireWith: function( context, args ) { - if ( list ) { + if ( stack ) { if ( firing ) { if ( !flags.once ) { stack.push( [ context, args ] );