X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/09e9ff8428c5733820f4400b8ab4c1c76147d10e..b9f7f39140e942df4dc08d4167d3c07202628840:/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)