diff --git a/app/views/wiki/destroy.html.erb b/app/views/wiki/destroy.html.erb
index 9c0b2e2e076..96d2ed9189d 100644
--- a/app/views/wiki/destroy.html.erb
+++ b/app/views/wiki/destroy.html.erb
@@ -62,7 +62,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= styled_select_tag "reassign_to_id",
options_for_select(wiki_page_options_for_select(@reassignable_to)),
{ container_class: "-wide" } %>
- <% csp_onclick("jQuery('#todo_reassign').attr('checked', true)", "#reassign_to_id") %>
+ <% csp_onclick("document.getElementById('todo_reassign').checked = true", "#reassign_to_id") %>
<% end %>