Permalink
Browse files

The CrMo string was removed from Chrome/Android, so for now our next-…

…best bet is to look for just Chrome instead. The header is still fixed, so there's no point in trying to scroll anything away.
  • Loading branch information...
1 parent 0c7efc5 commit 994f88d264f29084527fe08ec584215cbff96db4 @jzaefferer jzaefferer committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/viewporter.js
View
@@ -45,7 +45,7 @@ var viewporter;
var that = this;
// Scroll away the header, but not in Chrome
- this.IS_ANDROID = /Android/.test(navigator.userAgent) && !/CrMo/.test(navigator.userAgent);
+ this.IS_ANDROID = /Android/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);
var _onReady = function() {

0 comments on commit 994f88d

Please sign in to comment.