Permalink
Browse files

Fixing minor resize bug on the Mac.

  • Loading branch information...
1 parent fbddd43 commit 27379eb8de30e50b0db03985b407accae49522c8 @ellisonbg ellisonbg committed Jul 27, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 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();
});

0 comments on commit 27379eb

Please sign in to comment.