From 116a461bcea905fc9612b8276999fe2e9b9eb53e Mon Sep 17 00:00:00 2001 From: MinRK Date: Sun, 2 Jun 2013 20:12:15 -0700 Subject: [PATCH] fix bad `$(body)` --- IPython/frontend/html/notebook/static/notebook/js/pager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/frontend/html/notebook/static/notebook/js/pager.js b/IPython/frontend/html/notebook/static/notebook/js/pager.js index d67de9795..266b80018 100644 --- a/IPython/frontend/html/notebook/static/notebook/js/pager.js +++ b/IPython/frontend/html/notebook/static/notebook/js/pager.js @@ -25,7 +25,7 @@ var IPython = (function (IPython) { helper: null , drag: function(event, ui) { // recalculate the amount of space the pager should take - var pheight = ($(body).height()-event.clientY-4); + var pheight = ($(document.body).height()-event.clientY-4); var downprct = pheight/IPython.layout_manager.app_height(); downprct = Math.min(0.9, downprct); if (downprct < 0.1) {