Fixed undefined variable syntax error.

This commit is contained in:
Martin Edenhofer 2016-03-14 21:53:50 +01:00
parent 03901a6dab
commit b5a263ab90

View file

@ -134,6 +134,7 @@ class App.OnlineNotificationWidget extends App.Controller
@updateHeight()
# mark all notifications as read
notificationsContainer = $('.js-notificationsContainer')
notificationsContainer.find('.js-markAllAsRead').on('click', (e) =>
e.preventDefault()
@markAllAsRead()