X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/02628bed1e7b5c2656bc68076403467e92462b4f..ae8c0b3baff821423ef4830abab075ffb8f4ead9:/app/views/site/_key.html.erb?ds=sidebyside diff --git a/app/views/site/_key.html.erb b/app/views/site/_key.html.erb index 22261900d..e990071c8 100644 --- a/app/views/site/_key.html.erb +++ b/app/views/site/_key.html.erb @@ -17,7 +17,7 @@ } function updateMapKey() { - var layer = map.baseLayer.name.toLowerCase().replace(/\s+/g, "_"); + var layer = map.baseLayer.keyid; var zoom = map.getZoom(); <%= remote_function :update => "sidebar_content",