Commit f9dbb9f7 authored by Gilles van den Hoven's avatar Gilles van den Hoven

changed ID selector code

parent 268c82a9
...@@ -423,7 +423,7 @@ $.clean = function(a) { ...@@ -423,7 +423,7 @@ $.clean = function(a) {
$.g = { $.g = {
'': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()", '': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()",
'#': "a.attributes['id'].nodeValue == m[2]", '#': "a.getAttribute('id') && a.getAttribute('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