Fix some JSHint complaints

This commit is contained in:
Tom Hughes 2015-02-23 20:47:38 +00:00
parent 6671a934bf
commit 1596713871
22 changed files with 96 additions and 93 deletions

View file

@ -17,13 +17,13 @@ $(document).ready(function() {
$('.start-mapping').attr('href', url);
} else {
function geoSuccess(position) {
var geoSuccess = function (position) {
window.location = '/edit' + OSM.formatHash({
zoom: 17,
lat: position.coords.latitude,
lon: position.coords.longitude
});
}
};
$('.start-mapping').on('click', function(e) {
e.preventDefault();