Skip to content
Permalink
Browse files
Fix check for browser.mozilla so that Safari is not flagged as mozilla.
  • Loading branch information
coreyjewett committed Aug 31, 2006
1 parent 288b1a6 commit 18e563a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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

0 comments on commit 18e563a

Please sign in to comment.