@ -108,7 +108,7 @@ define([
var cell_type = $(this).val();
switch (cell_type) {
case 'code':
that.notebook.to_code();
that.notebook.cells_to_code();
break;
case 'markdown':
that.notebook.to_markdown();
@ -1182,7 +1182,6 @@ define(function (require) {
if (indices === undefined){
indices = this.get_selected_cells_indices();
}
this.untocode_backup =[];
for (var i=0; i <indices.length; i++){
this.to_code(indices[i]);