Do not remove permanent .popover--notifications widget.

This commit is contained in:
Martin Edenhofer 2016-03-22 09:50:35 +01:00
parent b0c14b81d5
commit e6ea12c75c

View file

@ -469,7 +469,9 @@ class App.Controller extends Spine.Controller
@userTicketPopupsList.popover('destroy') @userTicketPopupsList.popover('destroy')
anyPopoversDestroy: -> anyPopoversDestroy: ->
$('.popover').remove()
# do not remove permanent .popover--notifications widget
$('.popover:not(.popover--notifications)').remove()
recentView: (object, o_id) => recentView: (object, o_id) =>
params = params =