From b0b61191aa69eab0badc256ee52e166ebcabb598 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 5 Dec 2015 14:40:45 +0100 Subject: [PATCH] Fixed coffeelint. --- .../app/controllers/widget/online_notification.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/widget/online_notification.coffee b/app/assets/javascripts/app/controllers/widget/online_notification.coffee index b2bf94ccd..14e92231f 100644 --- a/app/assets/javascripts/app/controllers/widget/online_notification.coffee +++ b/app/assets/javascripts/app/controllers/widget/online_notification.coffee @@ -94,7 +94,7 @@ class App.OnlineNotificationWidget extends App.Controller notificationsContainer.on 'click', @stopPropagation $(window).on 'click.notifications', @hidePopover - onHide: => + onHide: -> $(window).off 'click.notifications' hidePopover: =>