Skip to content
Permalink
Browse files
Fix the ^= type attribute selector in firefox for href.
  • Loading branch information
brandonaaron committed Feb 13, 2007
1 parent fb0dfd9 commit 4c850c2ecdf475ca465cd173f3ff7bea67d77c29
Showing 1 changed file with 1 addition and 1 deletion.
@@ -59,7 +59,7 @@ jQuery.extend({
_resort: function(m){
return ["", m[1], m[3], m[2], m[5]];
},
_prefix: "z=a[m[3]]||jQuery.attr(a,m[3]);"
_prefix: "z=jQuery.attr(a,m[3]);" // just use attr instead of checking for property first. href in firefox return full URI as property
},
"[": "jQuery.find(m[2],a).length"
},

0 comments on commit 4c850c2

Please sign in to comment.