Nuke Announcement Hiding setting.
This commit is contained in:
parent
f7262ba0dc
commit
06da6b0c9e
@ -2,7 +2,6 @@ Config =
|
|||||||
main:
|
main:
|
||||||
'Miscellaneous':
|
'Miscellaneous':
|
||||||
'Desktop Notifications': [true, 'Enables desktop notifications across various <%= meta.name %> features.']
|
'Desktop Notifications': [true, 'Enables desktop notifications across various <%= meta.name %> features.']
|
||||||
'Announcement Hiding': [true, 'Add button to hide 4chan announcements.']
|
|
||||||
'404 Redirect': [true, 'Redirect dead threads and images.']
|
'404 Redirect': [true, 'Redirect dead threads and images.']
|
||||||
'Keybinds': [true, 'Bind actions to keyboard shortcuts.']
|
'Keybinds': [true, 'Bind actions to keyboard shortcuts.']
|
||||||
'Linkify': [true, 'Convert text links into hyperlinks.']
|
'Linkify': [true, 'Convert text links into hyperlinks.']
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
PSAHiding =
|
PSAHiding =
|
||||||
init: ->
|
init: ->
|
||||||
return if !Conf['Announcement Hiding']
|
|
||||||
|
|
||||||
$.addClass doc, 'hide-announcement', 'hide-announcement-enabled'
|
$.addClass doc, 'hide-announcement', 'hide-announcement-enabled'
|
||||||
|
|
||||||
$.on d, '4chanXInitFinished', @setup
|
$.on d, '4chanXInitFinished', @setup
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user