diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/js/app.js | 2 | ||||
-rw-r--r-- | www/js/views/locator.js | 2 | ||||
-rw-r--r-- | www/templates/en/around.html | 2 | ||||
-rw-r--r-- | www/templates/en/offline.html | 2 |
4 files changed, 3 insertions, 5 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(); }, diff --git a/www/templates/en/around.html b/www/templates/en/around.html index 56c0bf1..4e9f8f9 100644 --- a/www/templates/en/around.html +++ b/www/templates/en/around.html @@ -10,7 +10,7 @@ <p> Current accuracy is <span id="accuracy">unknown</span> - we'll load - the map when it's 100m or better. + the map when it's <% print( CONFIG.ACCURACY ) %>m or better. </p> <div style="width:100%; height:10px; border:1px solid black;"> diff --git a/www/templates/en/offline.html b/www/templates/en/offline.html index e56d325..38fbdaf 100644 --- a/www/templates/en/offline.html +++ b/www/templates/en/offline.html @@ -11,7 +11,7 @@ <p> Current accuracy is <span id="accuracy">unknown</span> - we'll add the - location to the draft when it's 100m or less. + location to the draft when it's <% print( CONFIG.ACCURACY ) %>m or less. </p> <div style="width:100%; height:10px; border:1px solid black;"> |