]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/confirm.html.erb
Simplify handling of verified emails in OpenID signup
[rails.git] / app / views / user / confirm.html.erb
index 551719f55afe8dc59aebfd759bd8064dcb7620e0..f48cd8867db2ed82c29eb51976ba725076fad0a9 100644 (file)
@@ -1,5 +1,5 @@
 <script>
-$("content").style.display = "none";
+$("#content").hide();
 </script>
 
 <h1><%= t 'user.confirm.heading' %></h1>
@@ -13,5 +13,5 @@ $("content").style.display = "none";
 <% end %>
 
 <script>
-$("confirm").submit();
+$("#confirm").submit();
 </script>