From 0881a59882d3f2ea14fd5401fcab53dc9a5a077f Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Sun, 13 Mar 2016 15:32:36 -0400 Subject: #190 removed Former-commit-id: 63abbfeefa8ec95bc0cbfe9088396032c4e167b2 --- www/js/app.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'www/js/app.js') diff --git a/www/js/app.js b/www/js/app.js index 62ac5acc..d57b6ecf 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1094,6 +1094,14 @@ angular.module('zmApp', [ //--------------------------------------------------------------------- $ionicPlatform.ready(function () { + + + + if (window.cordova) { + $cordovaSplashscreen.hide(); + } + + $rootScope.platformOS = "desktop"; @@ -1165,11 +1173,7 @@ angular.module('zmApp', [ } - setTimeout(function () { - if (window.cordova) { - $cordovaSplashscreen.hide(); - } - }, 300); + /*if(window.navigator && window.navigator.splashscreen) { window.navigator.splashscreen.hide(); -- cgit v1.2.3