diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/views/offline.js | 2 | ||||
-rw-r--r-- | src/templates/en/offline.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/offline.js b/src/js/views/offline.js index 117c67e..11cb3ce 100644 --- a/src/js/views/offline.js +++ b/src/js/views/offline.js @@ -54,7 +54,7 @@ this.model.set('lat', info.coordinates.latitude); this.model.set('lon', info.coordinates.longitude); - $('#locate_result').html('Got position (' + info.coordinates.latitude.toFixed(2) + ', ' + info.coordinates.longitude.toFixed(2) + ')'); + $('#locate_result').html('Got position.'); }, takePhoto: function() { diff --git a/src/templates/en/offline.html b/src/templates/en/offline.html index 0ae130c..d2d4814 100644 --- a/src/templates/en/offline.html +++ b/src/templates/en/offline.html @@ -22,7 +22,7 @@ <p id="locate_result"> <% if ( lat ) { %> - Report has position ( <% print( lat.toFixed(2) + ', ' + lon.toFixed(2) ) %> ) + This report has a position. <% } else { %> <input type="button" data-role="button" data-theme="a" id="locate" value="Locate" > <% } %> |