mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Merge pull request #643 from jdfreder/pager
Force pager to draw scrollbars on FireFox
This commit is contained in:
commit
07126232b4
@ -78,6 +78,13 @@ define([
|
||||
// This allows the pager-contents div to use percentage sizing.
|
||||
that.pager_element.height(that.pager_element.height());
|
||||
that._resize();
|
||||
|
||||
// HACK: Less horrible, but still horrible hack to force the
|
||||
// pager to show it's scrollbars on FireFox. ipython/ipython/#8853
|
||||
that.pager_element.css('position', 'relative');
|
||||
window.requestAnimationFrame(function() { /* Wait one frame */
|
||||
that.pager_element.css('position', '');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user