aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 5c3b655..f416781 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -143,7 +143,7 @@ var tpl = {
FMS.initialized = 1;
tpl.loadTemplates( FMS.templates, function() {
- if ( device.platform === 'Android' ) {
+ if ( typeof device !== 'undefined' && device.platform === 'Android' ) {
$.mobile.defaultPageTransition = 'none';
}