diff options
author | jaubourg <j@ubourg.net> | 2013-02-27 16:12:16 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2013-02-27 16:15:32 +0100 |
commit | 0618710913f41d7a7f4c095f0edda035e65a887d (patch) | |
tree | 89ace9aa0aed7577356572c33b43de6e9956252f /src | |
parent | 1b6be73721270225fea8a182f4a57ae44f5e6405 (diff) | |
download | jquery-0618710913f41d7a7f4c095f0edda035e65a887d.tar.gz jquery-0618710913f41d7a7f4c095f0edda035e65a887d.zip |
Properly resets firingLength when emptying the list. Fixes #13517
Diffstat (limited to 'src')
-rw-r--r-- | src/callbacks.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/callbacks.js b/src/callbacks.js index 2bb378047..851333114 100644 --- a/src/callbacks.js +++ b/src/callbacks.js @@ -145,6 +145,7 @@ jQuery.Callbacks = function( options ) { // Remove all callbacks from the list empty: function() { list = []; + firingLength = 0; return this; }, // Have the list do nothing anymore |