diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index ed20b4e16..ab1e7bc68 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -5934,7 +5934,7 @@ $.addClass.apply($, [root].concat(__slice.call(thread.OP.highlights))); } thumb = root.firstElementChild; - if (data.spoiler && !Conf['Reveal Spoilers']) { + if (data.spoiler && !Conf['Reveal Spoiler Thumbnails']) { src = "" + staticPath + "spoiler"; if (spoilerRange = Build.spoilerRange[thread.board]) { src += ("-" + thread.board) + Math.floor(1 + spoilerRange * Math.random()); @@ -11126,7 +11126,7 @@ RevealSpoilers = { init: function() { - if (!Conf['Reveal Spoilers']) { + if (!Conf['Reveal Spoiler Thumbnails']) { return; } return Post.callbacks.push({ diff --git a/builds/crx/script.js b/builds/crx/script.js index 38f0f5f3b..ff1c08457 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -5992,7 +5992,7 @@ $.addClass.apply($, [root].concat(__slice.call(thread.OP.highlights))); } thumb = root.firstElementChild; - if (data.spoiler && !Conf['Reveal Spoilers']) { + if (data.spoiler && !Conf['Reveal Spoiler Thumbnails']) { src = "" + staticPath + "spoiler"; if (spoilerRange = Build.spoilerRange[thread.board]) { src += ("-" + thread.board) + Math.floor(1 + spoilerRange * Math.random()); @@ -11140,7 +11140,7 @@ RevealSpoilers = { init: function() { - if (!Conf['Reveal Spoilers']) { + if (!Conf['Reveal Spoiler Thumbnails']) { return; } return Post.callbacks.push({ diff --git a/src/General/Build.coffee b/src/General/Build.coffee index d1e06ad2b..b8e115d46 100755 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -258,7 +258,7 @@ Build = $.addClass root, thread.OP.highlights... if thread.OP.highlights.length thumb = root.firstElementChild - if data.spoiler and !Conf['Reveal Spoilers'] + if data.spoiler and !Conf['Reveal Spoiler Thumbnails'] src = "#{staticPath}spoiler" if spoilerRange = Build.spoilerRange[thread.board] # Randomize the spoiler image. diff --git a/src/Images/RevealSpoilers.coffee b/src/Images/RevealSpoilers.coffee index bbf10db5b..0df87da17 100755 --- a/src/Images/RevealSpoilers.coffee +++ b/src/Images/RevealSpoilers.coffee @@ -1,6 +1,6 @@ RevealSpoilers = init: -> - return if !Conf['Reveal Spoilers'] + return if !Conf['Reveal Spoiler Thumbnails'] Post.callbacks.push cb: @node