aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js')
-rw-r--r--www/js/locate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/locate.js b/www/js/locate.js
index 3912a32..3f3748f 100644
--- a/www/js/locate.js
+++ b/www/js/locate.js
@@ -89,7 +89,7 @@
stopUpdating: function() {
this.updating = 0;
if ( this.update_watch_id ) {
- navigator.geolocation.clearWatch( this.watch_id );
+ navigator.geolocation.clearWatch( this.update_watch_id );
delete this.update_watch_id;
}
},