summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/app.js14
1 files changed, 9 insertions, 5 deletions
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();