소스 검색

Progress restored

Artur Paikin 9 년 전
부모
커밋
b05147c433
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/plugins/DragDrop.js

+ 2 - 2
src/plugins/DragDrop.js

@@ -68,9 +68,9 @@ export default class DragDrop extends TransloaditPlugin {
 
   run(files) {
     this.listenForEvents();
-    // this.core.setProgress(this, 0);
+    this.core.setProgress(this, 0);
     var selected = [ {name: 'lolcat.jpeg'} ];
-    // this.core.setProgress(this, 100);
+    this.core.setProgress(this, 100);
 
     // return selected;
   }