       row = $(e.target).closest('.activity-entry')
       id = row.data('id')
       App.OnlineNotification.destroy(id)
-      @resetHeight()
+      @updateHeight()
     )
 
   createContainer: =>

    @counterUpdate(0)
    @toggle.popover('destroy')

  resetHeight: ->
    notificationsContainer = $('.js-notificationsContainer')
    notificationsContainer.find('.popover-content').css('height', 'auto')


      notificationsContainer.removeClass('is-overflowing')

    notificationsContainer.find('.popover-content').css('height', "#{heightPopoverContentNew}px")

  onShow: =>
    @updateContent()
    @updateHeight()

    # mark all notifications as read
    notificationsContainer.find('.js-markAllAsRead').on('click', (e) =>
