From f9005c02bf00e116dc58be74c1b9302d411fee09 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Sun, 18 Aug 2013 00:44:45 +0200 Subject: [PATCH] Fix missing () --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index e3c590a9d..2e221422b 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -113,7 +113,7 @@ QR = QR.captcha.nodes.input.focus() notice = new Notice 'warning', el QR.notifications.push notice - return unless !document.hasFocus and Header.areNotificationsEnabled + return unless !document.hasFocus() and Header.areNotificationsEnabled notif = new Notification 'Quick reply warning', body: el.textContent icon: Favicon.logo