aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.core.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-12-31 04:08:49 +0000
committerScott González <scott.gonzalez@gmail.com>2008-12-31 04:08:49 +0000
commit19fd2705f94074dddd3b92dcaf99f33642bcff9f (patch)
tree61d4b1da0edf4585d4c2fe172a197b2492ace94b /ui/ui.core.js
parent91c37697def85d26df547ff3b6cde55f3f3cc9c2 (diff)
downloadjquery-ui-19fd2705f94074dddd3b92dcaf99f33642bcff9f.tar.gz
jquery-ui-19fd2705f94074dddd3b92dcaf99f33642bcff9f.zip
Core: Fixed data selector so it returns true/false (makes it work with Sizzle).
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r--ui/ui.core.js2
1 files changed, 1 insertions, 1 deletions
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