mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Callbacks: Don't abort execution on .lock()
Fixes gh-1990
Closes gh-1991
(cherry picked from commit fc7477f492)
This commit is contained in:
@@ -190,7 +190,7 @@ jQuery.Callbacks = function( options ) {
|
||||
lock: function() {
|
||||
stack = undefined;
|
||||
locked = true;
|
||||
if ( !memory ) {
|
||||
if ( !memory && !firing ) {
|
||||
self.disable();
|
||||
}
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user