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