X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/60cdce60b57e97fb1a607a6c552be6931740e618..c9403138237768242a9d8291c9e585f0f58e0d9d:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index eac166c91..0a0b7c1da 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -277,7 +277,7 @@ end $("linkloader").src = "http://127.0.0.1:8111/load_and_zoom?left=" + extent.left + "&top=" + extent.top + "&right=" + extent.right + "&bottom=" + extent.bottom; setTimeout(function () { - if (!loaded) alert("<%= t('site.index.remote_failed') %>"); + if (!loaded) alert("<%= escape_javascript(t('site.index.remote_failed')) %>"); }, 1000); event.stop();