From 63ca466f24c08d396f323f3d209509e10a8f185c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 23 Jan 2012 21:28:01 +0000 Subject: [PATCH 1/1] Use jQuery syntax instead of Prototype syntax --- app/views/user/account.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 988cd9121..fbc1487bb 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -97,7 +97,7 @@ <%= radio_button_tag "image_action", "new" %> - <%= t 'user.account.replace image' %>
<%= file_column_field "user", "image", :onchange => "$('image_action_new').checked = true" %>
<%= t 'user.account.image size hint' %> + <%= t 'user.account.replace image' %>
<%= file_column_field "user", "image", :onchange => "$('#image_action_new').prop('checked', true)" %>
<%= t 'user.account.image size hint' %> <% end %> -- 2.39.5