From f670e15c9906441b8eadd3b189f05696a55ebe5a Mon Sep 17 00:00:00 2001 From: Izumiko Date: Thu, 11 Jul 2024 13:25:24 +0000 Subject: [PATCH] deploy: 773700c1c8ea6a86ef8c91a8eb311602c39635f5 --- ede.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ede.user.js b/ede.user.js index 033dd08..4a5be2e 100644 --- a/ede.user.js +++ b/ede.user.js @@ -1296,9 +1296,9 @@ }); let enabledMode = [1, 4, 5, 6]; - if ((danmakuModeFilter & 1) === 1) { enabledMode.filter((v) => v !== 4); } - if ((danmakuModeFilter & 2) === 2) { enabledMode.filter((v) => v !== 5); } - if ((danmakuModeFilter & 4) === 4) { enabledMode.filter((v) => v !== 6 || v !== 1); } + if ((danmakuModeFilter & 1) === 1) { enabledMode = enabledMode.filter((v) => v !== 4); } + if ((danmakuModeFilter & 2) === 2) { enabledMode = enabledMode.filter((v) => v !== 5); } + if ((danmakuModeFilter & 4) === 4) { enabledMode = enabledMode.filter((v) => v !== 6 || v !== 1); } return unique_cmts .filter((comment) => {