Steven Silvester %!s(int64=8) %!d(string=hai) anos
pai
achega
02ba98f629
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/notebook/notebook/actions.ts

+ 1 - 1
src/notebook/notebook/actions.ts

@@ -900,9 +900,9 @@ namespace Private {
       if (replace) {
         child.model.source = text;
       } else {
+        // Create a new code cell and add as the next cell.
         let cell = parent.model.factory.createCodeCell();
         cell.source = text;
-        // Add the child as the next cell
         let cells = parent.model.cells;
         for (let i = 0; i < cells.length; i++) {
           let widget = parent.childAt(i);