X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2c666b42d7bbe20f95272a7ebecd7d9167762c44..63ca466f24c08d396f323f3d209509e10a8f185c:/app/views/user/account.html.erb
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 %>