From d6afb79da01a43a3f950bd495c133a7e503a31a0 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Fri, 8 Nov 2013 22:27:05 +0100 Subject: [PATCH] fix wrong default --- IPython/html/static/notebook/js/notebook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index d9313d5d5..c81bfd8ba 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);