This commit is contained in:
seaweedchan 2013-06-14 03:30:18 -07:00
parent af21ad07bc
commit f6d8ee29ae
6 changed files with 24 additions and 7 deletions

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

@ -73,7 +73,7 @@ Config =
]
'Indicate Spoilers': [
false
'Indicate spoilers if Remove Spoilers is enabled.'
'Indicate spoilers if Remove Spoilers is enabled, or make the text appear hovered if Remove Spoiler is disabled.'
]
'Linkification':

View File

@ -649,6 +649,11 @@ a.hide-announcement {
box-shadow: -5px 0 rgba(255, 0, 0, .5);
}
/* Spoiler text */
:root.reveal-spoilers s {
color: white !important;
}
/* Thread & Reply Hiding */
.hide-thread-button,
.hide-reply-button {

View File

@ -1,5 +1,8 @@
RemoveSpoilers =
init: ->
if Conf['Indicate Spoilers'] and !Conf['Remove Spoilers']
$.addClass doc, 'reveal-spoilers'
return unless Conf['Remove Spoilers']
if Conf['Indicate Spoilers']