X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/6c3b5aa9d46577818723e669d6fc64f1bb30cc01..04a6c41be94cea2175e49aa290bf204e69c41a5c:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index f9158463a..bc7ca3394 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -279,6 +279,8 @@ end } function installEditHandler() { + $("josmanchor").onclick =josmEditHandler; + <% if preferred_editor == "josm" %> $("editanchor").onclick =josmEditHandler;