Skip to content
Permalink
Browse files
Added a fix for bug #1331, which caused Safari 1.3 to crash.
  • Loading branch information
jeresig committed Jul 4, 2007
1 parent fa7bfcf commit 38d74fe9122a0474221388084368ebbdd8c6f938
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 ) {

0 comments on commit 38d74fe

Please sign in to comment.