Makes sure repeatable lists with memory are properly locked.
This commit is contained in:
parent
d54ae84f80
commit
bf04081b6c
|
@ -191,7 +191,7 @@ jQuery.Callbacks = function( flags, filter ) {
|
||||||
},
|
},
|
||||||
// Call all callbacks with the given context and arguments
|
// Call all callbacks with the given context and arguments
|
||||||
fireWith: function( context, args ) {
|
fireWith: function( context, args ) {
|
||||||
if ( list ) {
|
if ( stack ) {
|
||||||
if ( firing ) {
|
if ( firing ) {
|
||||||
if ( !flags.once ) {
|
if ( !flags.once ) {
|
||||||
stack.push( [ context, args ] );
|
stack.push( [ context, args ] );
|
||||||
|
|
Loading…
Reference in a new issue