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.
* 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
'Add sauce links to images.'
]
'Reveal Spoilers': [
'Reveal Spoiler Thumbnails': [
false
'Reveal spoiler thumbnails.'
'Replace spoiler thumbnails with the original image.'
]
'Replace GIF': [
false

View File

@ -1,9 +1,9 @@
RevealSpoilers =
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
name: 'Reveal Spoilers'
name: 'Reveal Spoiler Thumbnails'
cb: @node
node: ->
return if @isClone or !@file?.isSpoiler