Update _sort_order_choose.html.erb

fix error
This commit is contained in:
chiu 2019-09-16 19:56:49 +08:00
parent cb85f736b9
commit fe3e9c25b1
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<script>
function change_order(){
var value = $("input[name='order_asc']")[0].checked
var value = $("form[name='order_form']").find("input[type='checkbox']")[0].checked
$("input[name='order_asc']").val(String(value))
document.order_form.submit()
}