Fix missing ()

This commit is contained in:
Mayhem 2013-08-18 00:44:45 +02:00
parent a088db9ee2
commit f9005c02bf

View File

@ -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