Update for src and href attribute selectors fix

This commit is contained in:
Brandon Aaron 2007-02-14 01:49:28 +00:00
parent 339789a931
commit 2712efd0fc
2 changed files with 2 additions and 2 deletions

View file

@ -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]);" // just use attr instead of checking for property first. href in firefox return full URI as property
_prefix: "z=a[m[3]];if(!z||/href|src/.test(m[3]))z=jQuery.attr(a,m[3]);"
},
"[": "jQuery.find(m[2],a).length"
},