From e8ee2ac4aa7717542e4da867d8a3bd7b13226bc7 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sat, 19 Mar 2022 06:14:27 -0500 Subject: [PATCH] Fix checker precision not update --- templates/problem/data.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/problem/data.html b/templates/problem/data.html index 49870d6..f358d3c 100644 --- a/templates/problem/data.html +++ b/templates/problem/data.html @@ -113,7 +113,7 @@ function checker_precision($checker) { var $td = $checker.parent(); - var $args = $td.find('input'); + var $args = $td.closest('table').find('#id_problem-data-checker_args'); var $precision = $('', { type: 'number', value: try_parse_json($args.val()).precision || 6,