Remove jQuery from Wiki destroy form

This commit is contained in:
Alexander Brandon Coles
2025-11-02 18:56:40 +00:00
parent 9c0e223ade
commit bee6fd504b
+1 -1
View File
@@ -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") %>
</div>
<% end %>