aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/scripts/auto_refresh.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/scripts/auto_refresh.js b/static/scripts/auto_refresh.js
index 48af816..5e7223e 100644
--- a/static/scripts/auto_refresh.js
+++ b/static/scripts/auto_refresh.js
@@ -1,7 +1,7 @@
(() => {
const onFrontPage = () => {
const searchParams = new URLSearchParams(window.location.search);
- let pageNum = searchParams.get("page_num");
+ const pageNum = searchParams.get("page_num");
return (pageNum === "1") || (pageNum === null);
};