enable search city, josm edit, copy url

This commit is contained in:
Tykayn 2024-12-28 22:43:18 +01:00 committed by tykayn
parent 61b7dc601f
commit df001ab7ff

View File

@ -692,6 +692,7 @@ function init() {
document.getElementById('searchButton').addEventListener('click', searchLocation);
}
function copyCurrentUrl() {
const url = window.location.href;
var dummy = document.createElement('input'),
@ -729,4 +730,6 @@ function searchLocation() {
console.error('Erreur lors de la recherche du lieu :', error);
alert('Erreur lors de la recherche du lieu.');
});
}
}
init()