mirror of
https://forge.chapril.org/tykayn/libre-charge-map
synced 2025-06-20 01:34:43 +02:00
enable search city, josm edit, copy url
This commit is contained in:
parent
61b7dc601f
commit
df001ab7ff
1 changed files with 12 additions and 9 deletions
|
@ -692,6 +692,7 @@ function init() {
|
|||
document.getElementById('searchButton').addEventListener('click', searchLocation);
|
||||
}
|
||||
|
||||
|
||||
function copyCurrentUrl() {
|
||||
const url = window.location.href;
|
||||
var dummy = document.createElement('input'),
|
||||
|
@ -730,3 +731,5 @@ function searchLocation() {
|
|||
alert('Erreur lors de la recherche du lieu.');
|
||||
});
|
||||
}
|
||||
|
||||
init()
|
Loading…
Add table
Add a link
Reference in a new issue