enable search city, josm edit, copy url
This commit is contained in:
parent
61b7dc601f
commit
df001ab7ff
@ -692,6 +692,7 @@ function init() {
|
|||||||
document.getElementById('searchButton').addEventListener('click', searchLocation);
|
document.getElementById('searchButton').addEventListener('click', searchLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function copyCurrentUrl() {
|
function copyCurrentUrl() {
|
||||||
const url = window.location.href;
|
const url = window.location.href;
|
||||||
var dummy = document.createElement('input'),
|
var dummy = document.createElement('input'),
|
||||||
@ -730,3 +731,5 @@ function searchLocation() {
|
|||||||
alert('Erreur lors de la recherche du lieu.');
|
alert('Erreur lors de la recherche du lieu.');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
init()
|
Loading…
Reference in New Issue
Block a user