From: Corey Jewett Date: Thu, 31 Aug 2006 23:30:29 +0000 (+0000) Subject: Fix check for browser.mozilla so that Safari is not flagged as mozilla. X-Git-Tag: 1.0.2~101 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18e563abe53d7a7fb4169c869f01812c119ae191;p=jquery.git Fix check for browser.mozilla so that Safari is not flagged as mozilla. --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index ad65585d6..f774658fa 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -1653,7 +1653,7 @@ new function() { safari: /webkit/.test(b), opera: /opera/.test(b), msie: /msie/.test(b) && !/opera/.test(b), - mozilla: /mozilla/.test(b) && !/compatible/.test(b) + mozilla: /mozilla/.test(b) && !/(compatible|webkit)/.test(b) }; // Check to see if the W3C box model is being used