Skip to content

Commit

Permalink
Fixed #147.
Browse files Browse the repository at this point in the history
  • Loading branch information
liana-yang committed May 2, 2016
1 parent 336a32c commit 44e931e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/panel-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ genotet.panelManager.addPanel = function(view) {
genotet.panelManager.activatePanel_(clickedViewID);
});

// Adjust tab height.
genotet.panelManager.adjustTabHeight();

// Remove the click event handler to avoid multiple executions.
$('.sideways li a').off().click(function(event) {
event.stopPropagation();
Expand All @@ -143,6 +140,9 @@ genotet.panelManager.addPanel = function(view) {
genotet.viewManager.blurAllViews();
view.focus(false);

// Adjust tab height.
genotet.panelManager.adjustTabHeight();

var container = $('#panel-view-' + viewID);
return container;
};
Expand Down

0 comments on commit 44e931e

Please sign in to comment.