git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
288b1a6
)
Fix check for browser.mozilla so that Safari is not flagged as mozilla.
author
Corey Jewett
<cj@syntheticplayground.com>
Thu, 31 Aug 2006 23:30:29 +0000
(23:30 +0000)
committer
Corey Jewett
<cj@syntheticplayground.com>
Thu, 31 Aug 2006 23:30:29 +0000
(23:30 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
ad65585
..
f774658
100644
(file)
--- 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