Permalink
Browse files

Merge pull request #237 from danshultz/ie-11-gecko-browser-fix

fix Browser.is.Gecko to ensure not IE
  • Loading branch information...
2 parents ae848e7 + 916a7b5 commit 174a2538267567c0f8631c10b5cf92d2cae0e724 @joseph committed Feb 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compat/browser.js
View
@@ -19,7 +19,7 @@ Monocle.Browser.is = {
),
Opera: Monocle.Browser.uaMatch('Opera'),
WebKit: Monocle.Browser.uaMatch(/Apple\s?WebKit/),
- Gecko: Monocle.Browser.uaMatch('Gecko') && !Monocle.Browser.uaMatch('KHTML'),
+ Gecko: Monocle.Browser.uaMatch(/Gecko\//),
MobileSafari: Monocle.Browser.uaMatch(/OS \d_.*AppleWebKit.*Mobile/)
}

0 comments on commit 174a253

Please sign in to comment.