diff --git a/ui/ui.core.js b/ui/ui.core.js index d447a14e7..283199f75 100644 --- a/ui/ui.core.js +++ b/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