Don't fallback to file view for images
Also lengthen the timeout a bit. // FREEBIE
This commit is contained in:
parent
267f1f5d93
commit
bab9580c3a
1 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,9 @@
|
|||
this.view.$el.appendTo(this.$el);
|
||||
this.listenTo(this.view, 'update', this.update);
|
||||
this.view.render();
|
||||
this.timeout = setTimeout(this.onTimeout.bind(this), 3000);
|
||||
if (View !== ImageView) {
|
||||
this.timeout = setTimeout(this.onTimeout.bind(this), 5000);
|
||||
}
|
||||
return this;
|
||||
},
|
||||
onTimeout: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue