mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Merge pull request #7470 from minrk/pager-straight-down
hide pager straight down
This commit is contained in:
commit
d9303c8a14
@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user