From 1b0e1cef86aa8178d58008db97a22673a61d2a87 2014-12-10 18:42:17 From: Min RK Date: 2014-12-10 18:42:17 Subject: [PATCH] remove references to defunct layout_manager in ToolBar --- diff --git a/IPython/html/static/notebook/js/toolbar.js b/IPython/html/static/notebook/js/toolbar.js index 5f6c192..c43f494 100644 --- a/IPython/html/static/notebook/js/toolbar.js +++ b/IPython/html/static/notebook/js/toolbar.js @@ -13,9 +13,8 @@ define([ * @constructor * @param {Dom object} selector */ - var ToolBar = function (selector, layout_manager) { + var ToolBar = function (selector) { this.selector = selector; - this.layout_manager = layout_manager; if (this.selector !== undefined) { this.element = $(selector); this.style(); @@ -88,9 +87,6 @@ define([ */ ToolBar.prototype.toggle = function () { this.element.toggle(); - if (this.layout_manager !== undefined) { - this.layout_manager.do_resize(); - } }; // Backwards compatibility.