bad JS Can we stop using javascript: sometime soon please ... why use an anchor tag when you care about click and NOT href?
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/73d4a4f0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/73d4a4f0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/73d4a4f0 Branch: refs/heads/master Commit: 73d4a4f0a2ec0cd1604134ec84fa99893aeafa98 Parents: be49dcd Author: Jesse MacFadyen <purplecabb...@gmail.com> Authored: Sun Jul 15 03:59:16 2012 -0700 Committer: Jesse MacFadyen <purplecabb...@gmail.com> Committed: Sun Jul 15 03:59:16 2012 -0700 ---------------------------------------------------------------------- location/index.html | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/73d4a4f0/location/index.html ---------------------------------------------------------------------- diff --git a/location/index.html b/location/index.html index 9c989de..eb5b685 100755 --- a/location/index.html +++ b/location/index.html @@ -140,7 +140,7 @@ var date = (new Date(p.timestamp)); <h3>USe Cordova Geolocation Plugin</h3> <a href="javascript:" class="btn large" onclick="getLocation(cordova.require('cordova/plugin/geolocation'));">Get Location</a> <a href="javascript:" class="btn large" onclick="watchLocation(cordova.require('cordova/plugin/geolocation'));">Start Watching Location</a> - <a href="javascript:" class="btn large" onclick="stopLocation(cordova.require('cordova/plugin/geolocation')));">Stop Watching Location</a> + <a href="javascript:" class="btn large" onclick="stopLocation(cordova.require('cordova/plugin/geolocation'));">Stop Watching Location</a> <a href="javascript:" class="btn large" onclick="getLocation(cordova.require('cordova/plugin/geolocation'), {maximumAge:30000});">Get Location Up to 30 Seconds Old</a> <h2> </h2><a href="javascript:" class="backBtn" onclick="backHome();">Back</a> </body>