mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Merge pull request #556 from jdfreder/ipython8853
Force the Firefox to recalculate pager content size.
This commit is contained in:
commit
c7dd03308f
@ -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());
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user