X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a2d8f518278e97705f31f01386c3ceec1be13110..c014618ef2037232945403b581a4eb76f95e64ab:/app/views/site/_key.rhtml diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index 643099498..f800bbb97 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -9,9 +9,10 @@ if (zoomlevel<7 ) { var imgname = 'keymapnik6.png'; } else if (zoomlevel<13) { var imgname = 'keymapnik'+zoomlevel+'.png'; } - else { var imgname = 'keymapnik13.png'; } + else if (zoomlevel<15) { var imgname = 'keymapnik13.png'; } + else { var imgname = 'keymapnik15.png'; } - updateSidebar("Map key", "

"); + updateSidebar("Map key", "

<\/p>"); openSidebar({ width: "210px" }); }