From 57163b10e47ff330f9591263b7eacf04085f3d74 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Wed, 30 Jul 2025 23:29:53 -0400 Subject: [PATCH] The report test selection resets when you change the benchmark --- assets/scripts/reports.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/scripts/reports.coffee b/assets/scripts/reports.coffee index 87b66e1..c6a1e86 100644 --- a/assets/scripts/reports.coffee +++ b/assets/scripts/reports.coffee @@ -1,6 +1,9 @@ $ -> chartInstance = null + $('#report-benchmarks').on 'change', (e) -> + $('#report-tests option').prop('selected', false) + $('#reports-download').on 'click', (e) -> e.preventDefault() canvas = $('#benchmark-chart')[0]