mirror of
https://github.com/moparisthebest/mail
synced 2024-12-22 07:18:49 -05:00
Fix platform checking in Chrome Web App
This commit is contained in:
parent
94188be7b3
commit
d36ddcef7f
@ -80,7 +80,7 @@ var AddAccountCtrl = function($scope, $location, $routeParams, $timeout, $q, mai
|
||||
* @return {Boolean} if we are running on iOS
|
||||
*/
|
||||
$scope.checkIOS = function() {
|
||||
if (!window.chrome || !chrome.runtime) {
|
||||
if (!(window.chrome && chrome.runtime && chrome.runtime.getPlatformInfo)) {
|
||||
$scope.isIOS = false;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user