Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added support for [@foo] against DOM object properties (not just attr…
…ibutes).
  • Loading branch information
jeresig committed Jan 7, 2007
1 parent 33662cd commit e1e47cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selector/selector.js
Expand Up @@ -59,7 +59,7 @@ jQuery.extend({
_resort: function(m){
return ["", m[1], m[3], m[2], m[5]];
},
_prefix: "z=jQuery.attr(a,m[3]);"
_prefix: "z=a[m[3]]||jQuery.attr(a,m[3]);"
},
"[": "jQuery.find(m[2],a).length"
},
Expand Down

0 comments on commit e1e47cd

Please sign in to comment.