Allow sending arbitrary files
This commit is contained in:
parent
40af226a4a
commit
7a8f2f0fec
1 changed files with 1 additions and 5 deletions
|
@ -128,11 +128,7 @@
|
||||||
this.addThumb(this.oUrl);
|
this.addThumb(this.oUrl);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
var toast = new Whisper.UnsupportedFileTypeToast();
|
this.addThumb('/images/file.svg'); break;
|
||||||
toast.$el.insertAfter(this.$el);
|
|
||||||
toast.render();
|
|
||||||
this.deleteFiles();
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
this.autoScale(file).then(function(blob) {
|
this.autoScale(file).then(function(blob) {
|
||||||
|
|
Loading…
Reference in a new issue