Not sure how no one caught this.

This commit is contained in:
Jordan Bates 2013-08-04 14:22:26 -07:00
parent 979694a973
commit ebb2d0bf75
6 changed files with 1182 additions and 17 deletions

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.2.24 - 2013-07-24 * 4chan X - Version 1.2.24 - 2013-08-04
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -145,9 +145,9 @@ Config =
true true
'Add sauce links to images.' 'Add sauce links to images.'
] ]
'Reveal Spoilers': [ 'Reveal Spoiler Thumbnails': [
false false
'Reveal spoiler thumbnails.' 'Replace spoiler thumbnails with the original image.'
] ]
'Replace GIF': [ 'Replace GIF': [
false false

View File

@ -1,9 +1,9 @@
RevealSpoilers = RevealSpoilers =
init: -> init: ->
return if g.VIEW is 'catalog' or !Conf['Reveal Spoilers'] return if g.VIEW is 'catalog' or !Conf['Reveal Spoiler Thumbnails']
Post::callbacks.push Post::callbacks.push
name: 'Reveal Spoilers' name: 'Reveal Spoiler Thumbnails'
cb: @node cb: @node
node: -> node: ->
return if @isClone or !@file?.isSpoiler return if @isClone or !@file?.isSpoiler