diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-02-04 09:35:29 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-02-04 09:35:33 -0500 |
commit | a5b456edff358092fdcf4ac6460ade3bec183352 (patch) | |
tree | f30dae368497773596010932312db89ee69f7b00 /src | |
parent | cf260fe2858fcc6012a0a9cfa4b794d81c6fb9ad (diff) | |
download | jquery-a5b456edff358092fdcf4ac6460ade3bec183352.tar.gz jquery-a5b456edff358092fdcf4ac6460ade3bec183352.zip |
Ref fd43865c: restore correct logic
Diffstat (limited to 'src')
-rw-r--r-- | src/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js index edd6addbe..59ca5f8ae 100644 --- a/src/data.js +++ b/src/data.js @@ -131,7 +131,7 @@ Data.prototype = { hasData: function( owner ) { var index = Data.index( this.owners, owner ); - return index !== -1 && jQuery.isEmptyObject( this.cache[ index ] ); + return index !== -1 && !jQuery.isEmptyObject( this.cache[ index ] ); }, discard: function( owner ) { var index = Data.index( this.owners, owner ); |