From 27ce9fa4173c94449a8d022056b0ed006e34c4d5 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 27 Feb 2016 11:11:28 -0800 Subject: [PATCH] Beep Quoting You should always double beep if Beep is on to distinguish it. --- src/Monitoring/ThreadUpdater.coffee | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index 5e7932130..0c6df005f 100644 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -328,8 +328,11 @@ ThreadUpdater = Main.callbackNodes Post, posts if d.hidden - ThreadUpdater.playBeep() if Conf['Beep'] and Unread.posts?.size > 0 and unreadCount is 0 - ThreadUpdater.playBeep() if Conf['Beep Quoting You'] and Unread.postsQuotingYou?.size > unreadQYCount + if Conf['Beep Quoting You'] and Unread.postsQuotingYou?.size > unreadQYCount + ThreadUpdater.playBeep() + ThreadUpdater.playBeep() if Conf['Beep'] + else if Conf['Beep'] and Unread.posts?.size > 0 and unreadCount is 0 + ThreadUpdater.playBeep() scroll = Conf['Auto Scroll'] and ThreadUpdater.scrollBG() and ThreadUpdater.root.getBoundingClientRect().bottom - doc.clientHeight < 25