Makes sure repeatable lists with memory are properly locked.

1.7/callbacks^2
jaubourg 2011-05-09 00:53:09 +02:00
parent d54ae84f80
commit bf04081b6c
1 changed files with 1 additions and 1 deletions

View File

@ -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 ] );