diff options
Diffstat (limited to 'www/js/locate.js')
-rw-r--r-- | www/js/locate.js | 2 |
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; } }, |