From c1ca70d5bd279621f51a4183266120c6b0d05689 Mon Sep 17 00:00:00 2001 From: cheap-glitch Date: Sat, 9 Jan 2021 16:30:40 +0100 Subject: [PATCH 1/2] Fix selector --- source/features/hide-comments-faster.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/features/hide-comments-faster.tsx b/source/features/hide-comments-faster.tsx index 7fecb6adf915..05fdf80ce0a0 100644 --- a/source/features/hide-comments-faster.tsx +++ b/source/features/hide-comments-faster.tsx @@ -18,7 +18,7 @@ function generateSubmenu(hideButton: Element): void { const hideCommentForm = select('.js-comment-minimize', comment)!; // Generate dropdown items - for (const reason of select.all('[name="classifier"] input:not([value=""])', comment)) { + for (const reason of select.all('[name="classifier"] option:not([value=""])', comment)) { hideCommentForm.append(