summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 76b14c66..d17d16c1 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -216,7 +216,10 @@ angular.module('zmApp', [
setTimeout(function () {
- $cordovaSplashscreen.hide();
+ if (window.cordova)
+ {
+ $cordovaSplashscreen.hide();
+ }
}, 1500);
var pixelRatio = window.devicePixelRatio || 1;