瀏覽代碼

Bugfix for moving cell widgets.

ian-r-rose 8 年之前
父節點
當前提交
18e6a402c1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/notebook/widget.ts

+ 1 - 1
src/notebook/widget.ts

@@ -349,7 +349,7 @@ class StaticNotebook extends Widget {
       });
       break;
     case 'move':
-      this._moveCell(args.newIndex, args.oldIndex);
+      this._moveCell(args.oldIndex, args.newIndex);
       break;
     case 'remove':
       each(args.oldValues, value => {