aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/selector.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-02-13 19:06:38 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-02-13 19:06:38 +0000
commit4c850c2ecdf475ca465cd173f3ff7bea67d77c29 (patch)
treeeb1d74316e0a238421a64630d4bf9ae648172d06 /src/selector/selector.js
parentfb0dfd987c72906a9b499a4c5fd84807bff11678 (diff)
downloadjquery-4c850c2ecdf475ca465cd173f3ff7bea67d77c29.tar.gz
jquery-4c850c2ecdf475ca465cd173f3ff7bea67d77c29.zip
Fix the ^= type attribute selector in firefox for href.
Diffstat (limited to 'src/selector/selector.js')
-rw-r--r--src/selector/selector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js
index a21e5794c..c6692e1b1 100644
--- a/src/selector/selector.js
+++ b/src/selector/selector.js
@@ -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"
},