diff --git a/templates/contest/list.html b/templates/contest/list.html index e3c1702..10e12b5 100644 --- a/templates/contest/list.html +++ b/templates/contest/list.html @@ -38,6 +38,7 @@ const url = new URL(window.location); const searchParams = new URLSearchParams(url.search); searchParams.set('tab', newTab); + searchParams.delete('page'); url.search = searchParams.toString(); return url.href; }