diff --git a/IPython/frontend/html/notebook/static/js/pager.js b/IPython/frontend/html/notebook/static/js/pager.js index 1b0e076..52a52a0 100644 --- a/IPython/frontend/html/notebook/static/js/pager.js +++ b/IPython/frontend/html/notebook/static/js/pager.js @@ -48,14 +48,24 @@ var IPython = (function (IPython) { var that = this; this.pager_button_area.append( $('').attr('role', "button") - .attr('title',"open the pager in an external window") + .attr('title',"Open the pager in an external window") .addClass('ui-button') .click(function(){that.detach()}) - .attr('style','position: absolute; right: 10px;') + .attr('style','position: absolute; right: 20px;') .append( $('').addClass("ui-icon ui-icon-extlink") ) ) + this.pager_button_area.append( + $('').attr('role', "button") + .attr('title',"Collapse the pager") + .addClass('ui-button') + .click(function(){that.collapse()}) + .attr('style','position: absolute; right: 5px;') + .append( + $('').addClass("ui-icon ui-icon-close") + ) + ) }; Pager.prototype.style = function () {