aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/app.js2
-rw-r--r--www/js/views/locator.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 4fa0ff8..a62ec73 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -53,8 +53,6 @@ var tpl = {
reportToView: null,
- locationAccuracy: 100,
-
online: function() {
FMS.isOffline = 0;
},
diff --git a/www/js/views/locator.js b/www/js/views/locator.js
index 2475da8..46ebcce 100644
--- a/www/js/views/locator.js
+++ b/www/js/views/locator.js
@@ -9,7 +9,7 @@
this.listenTo(FMS.locator, 'gps_failed', this.failedLocation);
this.listenTo(FMS.locator, 'gps_locating', this.locationUpdate);
- FMS.locator.geolocate(FMS.locationAccuracy, this.skipLocationCheck);
+ FMS.locator.geolocate(CONFIG.ACCURACY, this.skipLocationCheck);
this.startLocateProgress();
},