totally remove pager when read only

closes #1126
This commit is contained in:
Matthias BUSSONNIER 2011-12-08 17:43:09 +01:00 committed by MinRK
parent 341fbcafb4
commit 70fa9c8b2a

View File

@ -99,6 +99,8 @@ $(document).ready(function () {
// hide various elements from read-only view
IPython.save_widget.element.find('button#save_notebook').addClass('hidden');
IPython.quick_help.element.addClass('hidden'); // shortcuts are disabled in read_only
$('div#pager').remove();
$('div#pager_splitter').remove();
$('button#new_notebook').addClass('hidden');
$('div#cell_section').addClass('hidden');
$('div#config_section').addClass('hidden');