diff options
author | John Resig <jeresig@gmail.com> | 2007-07-20 23:43:12 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-07-20 23:43:12 +0000 |
commit | 97a6bdbaba302015e84c54a5024dd7faadf35581 (patch) | |
tree | 7828249715476eaa8e67387a5c592b686b453e59 /src/selector | |
parent | e647a8a1f63864aa350e8c24926170d0fdff653c (diff) | |
download | jquery-97a6bdbaba302015e84c54a5024dd7faadf35581.tar.gz jquery-97a6bdbaba302015e84c54a5024dd7faadf35581.zip |
Added a fix for h1 + h2 not working. (Bug #1361)
Diffstat (limited to 'src/selector')
-rw-r--r-- | src/selector/selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js index a78cb310f..b574fa903 100644 --- a/src/selector/selector.js +++ b/src/selector/selector.js @@ -142,7 +142,7 @@ jQuery.extend({ if ( t.indexOf(" ") == 0 ) continue; foundToken = true; } else { - re = /^((\/?\.\.)|([>\/+~]))\s*([a-z]*)/i; + re = /^((\/?\.\.)|([>\/+~]))\s*(\w*)/i; if ( (m = re.exec(t)) != null ) { r = []; |