Fix check for browser.mozilla so that Safari is not flagged as mozilla.
This commit is contained in:
parent
288b1a6730
commit
18e563abe5
1 changed files with 1 additions and 1 deletions
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 a new issue