From 4e8b04d75adf7f11e3ba762b417bdce54b7a2ed6 2012-05-08 07:53:49 From: Matthias BUSSONNIER Date: 2012-05-08 07:53:49 Subject: [PATCH] fix firefox compatibility --- diff --git a/IPython/frontend/html/notebook/static/js/pager.js b/IPython/frontend/html/notebook/static/js/pager.js index 60cce2d..02afaa1 100644 --- a/IPython/frontend/html/notebook/static/js/pager.js +++ b/IPython/frontend/html/notebook/static/js/pager.js @@ -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) {