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