mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Core: Fixed data selector so it returns true/false (makes it work with Sizzle).
This commit is contained in:
parent
91c37697de
commit
19fd2705f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user