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); 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()