name == id bug, second attempt

This commit is contained in:
Gilles van den Hoven 2006-06-06 12:51:44 +00:00
parent 6e69be6687
commit 69ae9aeab0

2
jquery/jquery.js vendored
View file

@ -398,7 +398,7 @@ $.clean = function(a) {
$.g = {
'': "m[2] == '*' || a.nodeName.toUpperCase() == m[2].toUpperCase()",
'#': "a.getAttribute('id') == m[2]",
'#': "a.attributes['id'].nodeValue == m[2]",
':': {
lt: "i < m[3]-0",
gt: "i > m[3]-0",