From 3d23b79c3a5d6f7cbe234993eabfe3ac94a04de4 Mon Sep 17 00:00:00 2001 From: iorate Date: Fri, 26 Oct 2018 02:07:14 +0900 Subject: [PATCH] Use getElementsByClassName instead of querySelectorAll --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index da2b57e86..fe9054a9c 100644 --- a/content.js +++ b/content.js @@ -231,7 +231,7 @@ class UBlacklist { rejudgeAllEntries() { this.blockedEntryCount = 0; - for (const entry of document.querySelectorAll('.ubEntry')) { + for (const entry of document.getElementsByClassName('ubEntry')) { entry.classList.remove('ubBlockedEntry'); this.judgeEntry(entry); }