Fix some JSHint complaints
This commit is contained in:
parent
6671a934bf
commit
1596713871
22 changed files with 96 additions and 93 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue