diff --git a/src/selector/selector.js b/src/selector/selector.js index be50d332..00d8aba0 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -64,7 +64,7 @@ jQuery.extend({ }, _prefix: "z=a[m[3]];if(!z||/href|src/.test(m[3]))z=jQuery.attr(a,m[3]);" }, - "[": "parseInt(m[2])?jQuery.nth(a.parentNode.firstChild,parseInt(m[2]),'nextSibling',a)==a:jQuery.find(m[2],a).length" + "[": "jQuery.find(m[2],a).length" }, // The regular expressions that power the parsing engine