From: Tom Hughes Date: Fri, 5 Jun 2009 18:06:38 +0000 (+0000) Subject: Update key when the zoom changes, even if the language is not english. X-Git-Tag: live~7153 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/52bfc5a905f21f03efb71dfb00fadb3f05372ecb?hp=da8c910bc2b35a129fcfbe293d0cb1d4d125720b Update key when the zoom changes, even if the language is not english. --- diff --git a/app/views/site/_key.rhtml b/app/views/site/_key.rhtml index fceeb80ba..bf7954783 100644 --- a/app/views/site/_key.rhtml +++ b/app/views/site/_key.rhtml @@ -17,7 +17,7 @@ } function updateKey() { - if (sidebarOpen("Map key")) + if (sidebarOpen("<%= t('site.key.map_key') %>")) { showKey(); }