From 8207ecc0862a7c8fbf4255638f01254e898c286b Mon Sep 17 00:00:00 2001 From: Brian Granger Date: Wed, 27 Jul 2011 15:21:22 -0700 Subject: [PATCH] Fixing minor resize bug on the Mac. --- IPython/frontend/html/notebook/static/js/notebook_main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/IPython/frontend/html/notebook/static/js/notebook_main.js b/IPython/frontend/html/notebook/static/js/notebook_main.js index 0ad39b820..57d890947 100644 --- a/IPython/frontend/html/notebook/static/js/notebook_main.js +++ b/IPython/frontend/html/notebook/static/js/notebook_main.js @@ -32,11 +32,12 @@ $(document).ready(function () { IPython.layout_manager.do_resize(); IPython.notebook.insert_code_cell_after(); IPython.layout_manager.do_resize(); - IPython.pager.collapse(); - IPython.layout_manager.do_resize(); // These have display: none in the css file and are made visible here to prevent FLOUC. $('div#header').css('display','block'); $('div#notebook_app').css('display','block'); + IPython.layout_manager.do_resize(); + IPython.pager.collapse(); + IPython.layout_manager.do_resize(); });