Skip to content
Permalink
Browse files

Final fix for Safari crasher (bug #1331).

  • Loading branch information
jeresig committed Jul 6, 2007
1 parent 2278b24 commit bdb5dad8e521c060980e3efecb53b81b15ce74b0
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 = jQuery.browser.safari && jQuery.browser.version < 416.12 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
( jQuery.chars = jQuery.browser.safari && parseInt(jQuery.browser.version) < 417 ? "(?:[\\w*_-]|\\\\.)" : "(?:[\\w\u0128-\uFFFF*_-]|\\\\.)" ) + "+)")
],

multiFilter: function( expr, elems, not ) {

0 comments on commit bdb5dad

Please sign in to comment.
You can’t perform that action at this time.