Fix "Show all sensitive content" button not working

pull/375/head
Lim Chee Aun 2023-12-26 10:37:49 +08:00
rodzic a539cfea0a
commit 69571bf817
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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) => {