mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fix check for browser.mozilla so that Safari is not flagged as mozilla.
This commit is contained in:
parent
288b1a6730
commit
18e563abe5
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -1653,7 +1653,7 @@ new function() {
|
|||||||
safari: /webkit/.test(b),
|
safari: /webkit/.test(b),
|
||||||
opera: /opera/.test(b),
|
opera: /opera/.test(b),
|
||||||
msie: /msie/.test(b) && !/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
|
// Check to see if the W3C box model is being used
|
||||||
|
Loading…
Reference in New Issue
Block a user