diff --git a/IPython/html/static/notebook/js/scrollmanager.js b/IPython/html/static/notebook/js/scrollmanager.js index 788d2c5..552b326 100644 --- a/IPython/html/static/notebook/js/scrollmanager.js +++ b/IPython/html/static/notebook/js/scrollmanager.js @@ -8,7 +8,7 @@ define(['jquery'], function($){ * Public constructor. */ this.notebook = notebook; - this.element = $('body'); + this.element = $('#site'); options = options || {}; this.animation_speed = options.animation_speed || 250; //ms };