Browser UI: Fix broken breadcrumb navigation

Fix breadcrumb navigation becoming stuck when going back a couple
levels, due to previous panels not being removed from the DOM
This commit is contained in:
Brian Federle 2014-01-28 11:53:39 -08:00
parent 23f3047e7d
commit 25d8e3d7db

View File

@ -205,16 +205,7 @@
.addClass('reduced') .addClass('reduced')
).removeClass('active maximized'); ).removeClass('active maximized');
$toRemove.css( $toRemove.remove();
_panel.initialState($container), {
duration: 500,
complete: function() {
$(this).remove();
if (complete) complete($toShow);
}
}
);
$toShow.show(); $toShow.show();
$panel.css({ $panel.css({
left: _panel.position($container, { left: _panel.position($container, {