mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
fix firefox compatibility
This commit is contained in:
parent
785fbd9d9a
commit
4cfd7e9df6
@ -24,7 +24,7 @@ var IPython = (function (IPython) {
|
||||
helper: null ,
|
||||
drag: function(event,ui){
|
||||
// recalculate the amount of space the pager should take
|
||||
var pheight =(document.height-event.clientY-4);
|
||||
var pheight =($(body).height()-event.clientY-4);
|
||||
var downprct = pheight/IPython.layout_manager.app_height();
|
||||
downprct = Math.min(0.9,downprct);
|
||||
if(downprct < 0.1) {
|
||||
|
Loading…
Reference in New Issue
Block a user