Remove unneeded if-gaurd

pull/749/head
lilia 10 years ago
parent 7a03c26849
commit 01d5881a71

@ -22,9 +22,7 @@
className: "new-group-update-form", className: "new-group-update-form",
template: $('#new-group-update-form').html(), template: $('#new-group-update-form').html(),
initialize: function(options) { initialize: function(options) {
if (this.$el.html().length === 0) { this.render();
this.render();
}
this.avatarInput = new Whisper.FileInputView({ this.avatarInput = new Whisper.FileInputView({
el: this.$el.find('.group-avatar') el: this.$el.find('.group-avatar')
}); });

Loading…
Cancel
Save