Don't fallback to file view for images

Also lengthen the timeout a bit.

// FREEBIE
pull/749/head
lilia 8 years ago
parent 267f1f5d93
commit bab9580c3a

@ -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…
Cancel
Save