Fix overflow of history items outside the window. Closes #1106.

This commit is contained in:
Antonin Delpeuch 2017-09-20 10:08:03 +01:00
parent 249d8f9fa5
commit 2058081ffb

View File

@ -153,12 +153,8 @@ function initializeUI(uiState) {
ui.historyPanel = new HistoryPanel(ui.historyPanelDiv, ui.historyTabHeader);
ui.dataTableView = new DataTableView(ui.viewPanelDiv);
ui.leftPanelTabs.bind('tabsshow', function(event, tabs) {
if (tabs.index === 0) {
ui.browsingEngine.resize();
} else if (tabs.index === 1) {
ui.historyPanel.resize();
}
ui.leftPanelTabs.bind('tabsactivate', function(event, tabs) {
tabs.newPanel.resize();
});
$(window).bind("resize", resizeAll);