]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_helper.rb
Preserve background colour when marking messages read/unread
[rails.git] / app / helpers / user_helper.rb
index 89e744548a5a5f9451f79289278e04c4c0c12a43..acaecff48fdd0a59ec7ddd4c30a688fb4257bab1 100644 (file)
@@ -7,7 +7,7 @@ module UserHelper
     link_to(
       image_tag("#{name}.png", :alt => t("user.login.openid_providers.#{name}.alt")),
       "#",
-      :class => "openid_button", "data-url" => url,
+      :class => "openid_button", :data => { :url => url },
       :title => t("user.login.openid_providers.#{name}.title")
     )
   end