aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-03-20 16:46:59 +0000
committerStruan Donald <struan@exo.org.uk>2013-03-21 17:19:49 +0000
commitf50535cc60118868db8a22102444f1c606f98c25 (patch)
treec95b743435fd2c3d3b7fd234c4d9709546b5a497 /www/js
parent73c76ce0aa20f32769a36e08a82e62bd63d6e9f5 (diff)
correct edito
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 cc92821..02d47bc 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.clearupdate_watch( this.watch_id );
+ navigator.geolocation.clearWatch( this.watch_id );
delete this.update_watch_id;
}
},