Fix bugs with handling large image attachments
* Avoid infinite loop scaling too-big images * Don't crash if no file is selected * Fix file size toast Fixes #242 // FREEBIE
This commit is contained in:
parent
585c82aee8
commit
53a9ab4834
2 changed files with 8 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
render: function() {
|
||||
this.$el.html(Mustache.render(this.template, this.model));
|
||||
this.$el.appendTo($('body')).show();
|
||||
this.$el.show();
|
||||
setTimeout(this.close.bind(this), 2000);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue