From 69571bf817737ed7028930e21da5081a2f19cd6d Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 26 Dec 2023 10:37:49 +0800 Subject: [PATCH] Fix "Show all sensitive content" button not working --- src/pages/status.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/status.jsx b/src/pages/status.jsx index d00d68f..2b129fd 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -1098,7 +1098,7 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { // Click all buttons with class .spoiler but not .spoiling const buttons = Array.from( scrollableRef.current.querySelectorAll( - 'button.spoiler:not(.spoiling)', + '.spoiler-button:not(.spoiling), .spoiler-media-button:not(.spoiling)', ), ); buttons.forEach((button) => {