]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/confirm_email.html.erb
Eliminate interpolation in edit JS
[rails.git] / app / views / user / confirm_email.html.erb
index 7acb85a98003dab2934419838f9dfea2cca6a5db..5efc6a2c533dca97d9a6c40e8784d28fd9e36eee 100644 (file)
@@ -1,5 +1,5 @@
 <script>
-$("content").style.display = "none";
+$("#content").hide();
 </script>
 
 <h1><%= t 'user.confirm_email.heading' %></h1>
@@ -12,5 +12,5 @@ $("content").style.display = "none";
 <% end %>
 
 <script>
-$("confirm").submit();
+$("#confirm").submit();
 </script>