Skip to content

Commit

Permalink
Allow sending arbitrary files
Browse files Browse the repository at this point in the history
  • Loading branch information
liliakai committed May 1, 2017
1 parent 40af226 commit 7a8f2f0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js/views/file_input_view.js
Expand Up @@ -128,11 +128,7 @@
this.addThumb(this.oUrl);
break;
default:
var toast = new Whisper.UnsupportedFileTypeToast();
toast.$el.insertAfter(this.$el);
toast.render();
this.deleteFiles();
return;
this.addThumb('/images/file.svg'); break;
}

this.autoScale(file).then(function(blob) {
Expand Down

0 comments on commit 7a8f2f0

Please sign in to comment.