Skip to content
Permalink
Browse files

Core: Fixed data selector so it returns true/false (makes it work wit…

…h Sizzle).
  • Loading branch information...
scottgonzalez committed Dec 31, 2008
1 parent 91c3769 commit 19fd2705f94074dddd3b92dcaf99f33642bcff9f
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.core.js
@@ -210,7 +210,7 @@ $.fn.extend({
$.extend($.expr[':'], {

data: function(a, i, m) {
return $.data(a, m[3]);
return !!$.data(a, m[3]);
},

// TODO: add support for object, area

0 comments on commit 19fd270

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