diff --git a/src/scripts/constants/css-selector.ts b/src/scripts/constants/css-selector.ts index e1bc733..f1e4f2b 100644 --- a/src/scripts/constants/css-selector.ts +++ b/src/scripts/constants/css-selector.ts @@ -156,9 +156,9 @@ export const POST = { */ BOOKMARKED: '* ul.message-attribution-opposite >li > a[title="Bookmark"].is-bookmarked', /** - * Button used to hide/show a spoiler element of a post. + * Name visualized on the button used to hide/show a spoiler element of a post. */ - SPOILER_BUTTON: "button.bbCodeSpoiler-button", + SPOILER_NAME: "button.bbCodeSpoiler-button > * span.bbCodeSpoiler-button-title", /** * Contents of a spoiler element in a post. */