From 27cb56cf193e31d0d34dafe7faeeba107464f22b 2013-11-13 13:52:50 From: Matthias BUSSONNIER Date: 2013-11-13 13:52:50 Subject: [PATCH] fix wrong default --- diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index d9313d5..c81bfd8 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -790,7 +790,7 @@ var IPython = (function (IPython) { * @return cell {cell|null} created cell or null **/ Notebook.prototype.insert_cell_at_index = function(type, index, opts){ - var opts = opts || {select:false}; + var opts = opts || {select:true}; var ncells = this.ncells(); var index = Math.min(index,ncells); index = Math.max(index,0);