Fix updater beeping on posts to not completely read thread.
This commit is contained in:
parent
2e9980fee4
commit
c47bc8dce7
@ -316,7 +316,7 @@ ThreadUpdater =
|
||||
else
|
||||
ThreadUpdater.set 'status', "+#{count}", 'new'
|
||||
ThreadUpdater.outdateCount = 0
|
||||
if Conf['Beep'] and d.hidden and Unread.posts and !Unread.posts.length
|
||||
if Conf['Beep'] and d.hidden and Unread.posts and !Unread.posts.size
|
||||
unless ThreadUpdater.audio
|
||||
ThreadUpdater.audio = $.el 'audio', src: ThreadUpdater.beep
|
||||
ThreadUpdater.audio.play()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user