소스 검색

Reset file input change

Robin Linus 9 년 전
부모
커밋
b1dac708eb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/elements/file-sharing/file-button-behavior.html

+ 1 - 0
app/elements/file-sharing/file-button-behavior.html

@@ -28,6 +28,7 @@ Chat.FileButtonBehaviorImpl = {
         'tap': '_openDialog'
     },
     _openDialog: function() {
+        this.fileInput.value = null;
         this.fileInput.click();
     }
 };