소스 검색

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 => {