Update key when the zoom changes, even if the language is not english.
authorTom Hughes <tom@compton.nu>
Fri, 5 Jun 2009 18:06:38 +0000 (18:06 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 5 Jun 2009 18:06:38 +0000 (18:06 +0000)
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();
     }