Skip to content
Permalink
Browse files

Ref fd43865: restore correct logic

  • Loading branch information...
gibson042 committed Feb 4, 2013
1 parent cf260fe commit a5b456edff358092fdcf4ac6460ade3bec183352
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );

0 comments on commit a5b456e

Please sign in to comment.
You can’t perform that action at this time.