diff options
author | Corey Jewett <cj@syntheticplayground.com> | 2006-08-31 23:30:29 +0000 |
---|---|---|
committer | Corey Jewett <cj@syntheticplayground.com> | 2006-08-31 23:30:29 +0000 |
commit | 18e563abe53d7a7fb4169c869f01812c119ae191 (patch) | |
tree | 199e094643ac33fea7f14af9a10693cd58721136 /src | |
parent | 288b1a67303174f336ac4111c50747d609cba32a (diff) | |
download | jquery-18e563abe53d7a7fb4169c869f01812c119ae191.tar.gz jquery-18e563abe53d7a7fb4169c869f01812c119ae191.zip |
Fix check for browser.mozilla so that Safari is not flagged as mozilla.
Diffstat (limited to 'src')
-rw-r--r-- | src/jquery/jquery.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |