aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-07-04 16:15:09 +0000
committerJohn Resig <jeresig@gmail.com>2007-07-04 16:15:09 +0000
commit38d74fe9122a0474221388084368ebbdd8c6f938 (patch)
tree33a413c0209c8e4afb3f09a736d21c203e56ee4c /src
parentfa7bfcfd783421b561bccb5c9402e0993b4af769 (diff)
downloadjquery-38d74fe9122a0474221388084368ebbdd8c6f938.tar.gz
jquery-38d74fe9122a0474221388084368ebbdd8c6f938.zip
Added a fix for bug #1331, which caused Safari 1.3 to crash.
Diffstat (limited to 'src')
-rw-r--r--src/selector/selector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector/selector.js b/src/selector/selector.js
index 5f6f87b04..04b68d3e2 100644
--- a/src/selector/selector.js
+++ b/src/selector/selector.js
@@ -63,7 +63,7 @@ jQuery.extend({
// Match: :even, :last-chlid, #id, .class
new RegExp("^([:.#]*)(" +
- ( jQuery.chars = "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
+ ( jQuery.chars = jQuery.browser.safari && jQuery.browser.version < "3.0.0" ? "\\w" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
],
multiFilter: function( expr, elems, not ) {