Show More
@@ -25,7 +25,7 var IPython = (function (IPython) { | |||||
25 | helper: null , |
|
25 | helper: null , | |
26 | drag: function(event, ui) { |
|
26 | drag: function(event, ui) { | |
27 | // recalculate the amount of space the pager should take |
|
27 | // recalculate the amount of space the pager should take | |
28 | var pheight = ($(body).height()-event.clientY-4); |
|
28 | var pheight = ($(document.body).height()-event.clientY-4); | |
29 | var downprct = pheight/IPython.layout_manager.app_height(); |
|
29 | var downprct = pheight/IPython.layout_manager.app_height(); | |
30 | downprct = Math.min(0.9, downprct); |
|
30 | downprct = Math.min(0.9, downprct); | |
31 | if (downprct < 0.1) { |
|
31 | if (downprct < 0.1) { |
General Comments 0
You need to be logged in to leave comments.
Login now