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-Url: http://git.asbjorn.biz/?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 ad65585..f774658 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