From: Tom Hughes Date: Mon, 23 Jan 2012 21:28:01 +0000 (+0000) Subject: Use jQuery syntax instead of Prototype syntax X-Git-Tag: live~6405 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/63ca466f24c08d396f323f3d209509e10a8f185c?hp=2c666b42d7bbe20f95272a7ebecd7d9167762c44 Use jQuery syntax instead of Prototype syntax --- 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 %>