Преглед на файлове

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();
     }
 };