Removed pop overs on rerender().

This commit is contained in:
Martin Edenhofer 2014-04-23 08:40:35 +02:00
parent 99b7c406f9
commit 9fcc6234a4

View file

@ -74,6 +74,9 @@ class App.Navigation extends App.Controller
nav_left = @getItems( navbar: @Config.get( 'NavBar' ) )
nav_right = @getItems( navbar: @Config.get( 'NavBarRight' ) )
# remove old popovers
$('.popover').remove()
# get open tabs to repopen on rerender
open_tab = {}
@el.find('.open').children('a').each( (i,d) =>