##// END OF EJS Templates
fix wrong default
Matthias BUSSONNIER -
Show More
@@ -790,7 +790,7 b' var IPython = (function (IPython) {'
790 * @return cell {cell|null} created cell or null
790 * @return cell {cell|null} created cell or null
791 **/
791 **/
792 Notebook.prototype.insert_cell_at_index = function(type, index, opts){
792 Notebook.prototype.insert_cell_at_index = function(type, index, opts){
793 var opts = opts || {select:false};
793 var opts = opts || {select:true};
794 var ncells = this.ncells();
794 var ncells = this.ncells();
795 var index = Math.min(index,ncells);
795 var index = Math.min(index,ncells);
796 index = Math.max(index,0);
796 index = Math.max(index,0);
General Comments 0
You need to be logged in to leave comments. Login now