From fe3807b60d8abb4067e733e46d9801d0a226e7df Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 15 Jun 2020 17:51:14 -0500 Subject: [PATCH] Not highlight 0 submissions --- templates/contest/ranking.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/contest/ranking.html b/templates/contest/ranking.html index 68d8005..6d30efd 100644 --- a/templates/contest/ranking.html +++ b/templates/contest/ranking.html @@ -250,7 +250,7 @@ // update best submissions let curBest = bestSubmissions[problem] - if (scoretimeComparison(curSubmission, curBest)) { + if (scoretimeComparison(curSubmission, curBest) && score) { bestSubmissions[problem] = curSubmission; } }