Skip to content

Commit

Permalink
Ref fd43865: restore correct logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Feb 4, 2013
1 parent cf260fe commit a5b456e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.js
Expand Up @@ -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 );
Expand Down

0 comments on commit a5b456e

Please sign in to comment.