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