From 1eea358c35a1473de18b4c6ba70fdd2959cc0669 Mon Sep 17 00:00:00 2001 From: Maverick Date: Tue, 23 Jun 2015 23:10:04 +1000 Subject: [PATCH] Typo in the comments :). --- app/js/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/js/app.js b/app/js/app.js index 677b091e..560ff5ff 100755 --- a/app/js/app.js +++ b/app/js/app.js @@ -3,8 +3,7 @@ angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', function($rootScope, $location, $window, $doc, $state, CArr, shipPurpose, sz, hpc, GroupMap, Persist) { // App is running as a standalone web app on tablet/mobile var isStandAlone; - - // This was causing issues on Windows phones ($window.external was causing Angular js to throw an exception). Backup is to try this and set isStandAlone to true if this fails. + // This was causing issues on Windows phones ($window.external was causing Angular js to throw an exception). Backup is to try this and set isStandAlone to false if this fails. try { isStandAlone = $window.navigator.standalone || ($window.external && $window.external.msIsSiteMode && $window.external.msIsSiteMode()); }