Explorar el Código

Reset file input change

Robin Linus hace 9 años
padre
commit
b1dac708eb
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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();
     }
 };