]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Don't use single quotes to wrap translated strings in javascript in case
[rails.git] / app / views / site / _key.rhtml
index bf795478361bbf1207722bcd3c42b8f3e7301a54..f01cb67dd2fd8466ba6ab000b9e56afef49d5aa6 100644 (file)
@@ -1,5 +1,5 @@
 <% content_for :left_menu do %>
-<%= link_to_function t('site.key.map_key'), "showKey();" %>
+<%= link_to_function t('site.key.map_key'), "showKey();", { :title => t('site.key.map_key_tooltip') } %>
 <% end %>
 
 <script type="text/javascript">