git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a fix for relative // - $("//div",this) (bug #1418)
[jquery.git]
/
src
/
selector
/
selector.js
diff --git
a/src/selector/selector.js
b/src/selector/selector.js
index
b574fa9
..
2cf0b64
100644
(file)
--- a/
src/selector/selector.js
+++ b/
src/selector/selector.js
@@
-99,7
+99,7
@@
jQuery.extend({
// Handle the common XPath // expression
if ( !t.indexOf("//") ) {
- context = context.documentElement;
+ //context = context.documentElement;
t = t.substr(2,t.length);
// And the / root expression