fix condition in Unread.init
This commit is contained in:
parent
5745ee6b0a
commit
46942f3e65
@ -1,6 +1,11 @@
|
|||||||
Unread =
|
Unread =
|
||||||
init: ->
|
init: ->
|
||||||
return if g.VIEW isnt 'thread' or !Conf['Unread Count'] and !Conf['Unread Favicon'] and !Conf['Desktop Notifications'] and !Conf['Show Unread Count']
|
return if g.VIEW isnt 'thread' or
|
||||||
|
!Conf['Unread Count'] and
|
||||||
|
!Conf['Unread Favicon'] and
|
||||||
|
!Conf['Unread Line'] and
|
||||||
|
!Conf['Desktop Notifications'] and
|
||||||
|
!(Conf['Thread Watcher'] and Conf['Show Unread Count'])
|
||||||
|
|
||||||
@db = new DataBoard 'lastReadPosts', @sync
|
@db = new DataBoard 'lastReadPosts', @sync
|
||||||
@hr = $.el 'hr',
|
@hr = $.el 'hr',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user