Skip to content

Commit

Permalink
Auto-submit search form when has editorial is clicked
Browse files Browse the repository at this point in the history
Fix after pr DMOJ#1844
  • Loading branch information
Riolku committed Feb 22, 2022
1 parent 11f0bd7 commit 05ab891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/problem/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

$('#go').click(clean_submit);

$('input#full_text, input#hide_solved, input#show_types').click(function () {
$('input#full_text, input#hide_solved, input#show_types, input#has_public_editorial').click(function () {
prep_form();
($('<form>').attr('action', window.location.pathname + '?' + $form.serialize())
.append($('<input>').attr('type', 'hidden').attr('name', 'csrfmiddlewaretoken')
Expand Down

0 comments on commit 05ab891

Please sign in to comment.