diff --git a/app/js/app.js b/app/js/app.js index 560ff5ff..f81e5b52 100755 --- a/app/js/app.js +++ b/app/js/app.js @@ -2,14 +2,11 @@ angular.module('app', ['ui.router', 'ct.ui.router.extras.sticky', 'ui.sortable', .run(['$rootScope', '$location', '$window', '$document', '$state', 'commonArray', 'shipPurpose', 'shipSize', 'hardPointClass', 'GroupMap', 'Persist', 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; + var isStandAlone = false; // 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()); - } - catch (ex) { - isStandAlone = false; - } + } catch (ex) { } // Redirect any state transition errors to the error controller/state $rootScope.$on('$stateChangeError', function(e, toState, toParams, fromState, fromParams, error) { diff --git a/app/less/outfit.less b/app/less/outfit.less index 55a26683..c3577177 100755 --- a/app/less/outfit.less +++ b/app/less/outfit.less @@ -152,7 +152,7 @@ table.total { width: 100%; }); - &.dbl { + &.half { width: 50%; .tablet({ @@ -166,7 +166,7 @@ table.total { }); } - &.semi { + &.third { width: 33%; .smallTablet({ diff --git a/app/views/page-outfit.html b/app/views/page-outfit.html index 63030e12..a0513c0b 100644 --- a/app/views/page-outfit.html +++ b/app/views/page-outfit.html @@ -196,7 +196,7 @@ -