Merge pull request #556 from jdfreder/ipython8853

Force the Firefox to recalculate pager content size.
This commit is contained in:
Brian E. Granger 2015-10-12 17:59:46 -04:00
commit c7dd03308f

View File

@ -78,6 +78,11 @@ define([
// This allows the pager-contents div to use percentage sizing.
that.pager_element.height(that.pager_element.height());
that._resize();
// Fixes: ipython/ipython#8853
// Horrible hack that forces firefox to recalculate the content
// size so the scrollbars get rendered.
that.pager_element.html(that.pager_element.html());
});
});