]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Update key when the zoom changes, even if the language is not english.
[rails.git] / app / views / site / _key.rhtml
index fceeb80ba47994c110abd72df57cafe156072c43..bf795478361bbf1207722bcd3c42b8f3e7301a54 100644 (file)
@@ -17,7 +17,7 @@
   }
 
   function updateKey() {
-    if (sidebarOpen("Map key")) 
+    if (sidebarOpen("<%= t('site.key.map_key') %>")) 
     {
       showKey();
     }