From 21233df7542857190d7ff4b6374579518430ad4f Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Mon, 1 Feb 2021 11:37:00 +0000 Subject: [PATCH] Fix group filter on the download page --- public/js/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/download.js b/public/js/download.js index e3d653d..b8d76fe 100644 --- a/public/js/download.js +++ b/public/js/download.js @@ -241,7 +241,7 @@ const buildTable = () => { if (v === 'All') return; if (k === 'group') { chapters = chapters.filter(c => { - unescaped_groups = Object.entries(c.groups).map(([g, id]) => unescapeHTML(g)); + const unescaped_groups = Object.entries(c.groups).map(([g, id]) => unescapeHTML(g)); return unescaped_groups.indexOf(v) >= 0; }); return;