]> source.dussan.org Git - jquery.git/commitdiff
Fix check for browser.mozilla so that Safari is not flagged as mozilla.
authorCorey Jewett <cj@syntheticplayground.com>
Thu, 31 Aug 2006 23:30:29 +0000 (23:30 +0000)
committerCorey Jewett <cj@syntheticplayground.com>
Thu, 31 Aug 2006 23:30:29 +0000 (23:30 +0000)
src/jquery/jquery.js

index ad65585d6ec6fbf75e107587bb9dce8feb45100f..f774658fa089f0c0eba74ba0eab5e15b4dcf109a 100644 (file)
@@ -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