From 7479bf26e8a2cb168487d7f91e1d852687622f11 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 14 Jan 2015 17:24:23 -0800 Subject: [PATCH] hide pager straight down instead of shrinking into the corner --- IPython/html/static/notebook/js/pager.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/notebook/js/pager.js b/IPython/html/static/notebook/js/pager.js index a2f6ab241..881d57508 100644 --- a/IPython/html/static/notebook/js/pager.js +++ b/IPython/html/static/notebook/js/pager.js @@ -57,8 +57,13 @@ define([ this.pager_element.bind('collapse_pager', function (event, extrap) { // Animate hiding of the pager. var time = (extrap && extrap.duration) ? extrap.duration : 'fast'; - that.pager_element.hide(time, function() { - $('.end_space').css('height', that._default_end_space); + that.pager_element.animate({ + height: 'toggle' + }, { + duration: time, + done: function() { + $('.end_space').css('height', that._default_end_space); + } }); });