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