aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/app.js')
-rw-r--r--src/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/app.js b/src/js/app.js
index 6f723ba..457bc3b 100644
--- a/src/js/app.js
+++ b/src/js/app.js
@@ -47,6 +47,7 @@ var tpl = {
users: new FMS.Users(),
currentUser: null,
currentPosition: null,
+ isAndroid: false,
currentDraft: new FMS.Draft(),
allDrafts: new FMS.Drafts(),
@@ -150,6 +151,7 @@ var tpl = {
if ( typeof device !== 'undefined' && device.platform === 'Android' ) {
$.mobile.defaultPageTransition = 'none';
+ FMS.isAndroid = true;
}
_.extend(FMS, {