Force the Firefox to recalculate pager content size.

closes ipython/ipython#8853
This commit is contained in:
Jonathan Frederic 2015-10-08 09:32:59 -07:00
parent 932f85c759
commit c02d91cd0e

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());
});
});