Merge branch 'v3'
This commit is contained in:
commit
fd80574fc3
@ -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({
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
RevealSpoilers =
|
||||
init: ->
|
||||
return if !Conf['Reveal Spoilers']
|
||||
return if !Conf['Reveal Spoiler Thumbnails']
|
||||
|
||||
Post.callbacks.push
|
||||
cb: @node
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user