X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/720c8d0e357b2867b9c0fec27006caec3fed0b23..2e444eb7bbb48ff534a639d6d7bab022b02add8f:/app/views/site/id.html.erb diff --git a/app/views/site/id.html.erb b/app/views/site/id.html.erb index 96262f1e2..aaa3927a9 100644 --- a/app/views/site/id.html.erb +++ b/app/views/site/id.html.erb @@ -16,7 +16,7 @@ 'Please upgrade your browser or use Potlatch 2 to edit the map.'; document.getElementById('id-container').className = 'unsupported'; } else { - <% locale = select_locale(ID::LOCALES) %> + <% locale = select_locale(ID::LOCALES).to_s %> var id = iD() .embed(true)