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 ad65585..f774658 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