Commit 69ae9aea authored by Gilles van den Hoven's avatar Gilles van den Hoven

name == id bug, second attempt

parent 6e69be66
...@@ -398,7 +398,7 @@ $.clean = function(a) { ...@@ -398,7 +398,7 @@ $.clean = function(a) {
$.g = { $.g = {
'': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()", '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()",
'#': "a.getAttribute('id') == m[2]", '#': "a.attributes['id'].nodeValue == m[2]",
':': { ':': {
lt: "i < m[3]-0", lt: "i < m[3]-0",
gt: "i > m[3]-0", gt: "i > m[3]-0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment