Initiate Reveal Spoilers only in spoilable boards.
This commit is contained in:
parent
eb6a6d947f
commit
36bbd9a2af
@ -2855,7 +2855,7 @@
|
|||||||
if (conf['Sauce']) {
|
if (conf['Sauce']) {
|
||||||
sauce.init();
|
sauce.init();
|
||||||
}
|
}
|
||||||
if (conf['Reveal Spoilers']) {
|
if (conf['Reveal Spoilers'] && $('.postarea label')) {
|
||||||
revealSpoilers.init();
|
revealSpoilers.init();
|
||||||
}
|
}
|
||||||
if (conf['Anonymize']) {
|
if (conf['Anonymize']) {
|
||||||
|
|||||||
@ -2247,7 +2247,7 @@ main =
|
|||||||
if conf['Sauce']
|
if conf['Sauce']
|
||||||
sauce.init()
|
sauce.init()
|
||||||
|
|
||||||
if conf['Reveal Spoilers']
|
if conf['Reveal Spoilers'] and $('.postarea label')
|
||||||
revealSpoilers.init()
|
revealSpoilers.init()
|
||||||
|
|
||||||
if conf['Anonymize']
|
if conf['Anonymize']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user