Fix check for browser.mozilla so that Safari is not flagged as mozilla.

This commit is contained in:
Corey Jewett 2006-08-31 23:30:29 +00:00
parent 288b1a6730
commit 18e563abe5

View 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