diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/callbacks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callbacks.js b/src/callbacks.js index 20422c35a..9e034cba0 100644 --- a/src/callbacks.js +++ b/src/callbacks.js @@ -40,7 +40,7 @@ jQuery.Callbacks = function( flags ) { // Convert flags from String-formatted to Object-formatted if needed // (we check in cache first) - flags = typeof flags === "string" ? ( flagsCache[ flags ] || createFlags( flags ) ) : ( flags || {} ); + flags = typeof flags === "string" ? ( flagsCache[ flags ] || createFlags( flags ) ) : jQuery.extend( {}, flags ); var // Actual callback list list = [], |