X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c1299fbb35d99287e25d7c7573bb467fc6b9ac5f..9985b9cb94e0a7fb68c6468cd83a963bbe20d869:/app/views/site/_key.rhtml?ds=inline diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index c6b6fe29a..f800bbb97 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -9,10 +9,11 @@ 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", "
"); - openSidebar("210px"); + updateSidebar("Map key", "<\/p>"); + openSidebar({ width: "210px" }); } function updateKey() {