mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Fix "Show all sensitive content" button not working
This commit is contained in:
parent
a539cfea0a
commit
69571bf817
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue