Remove unneeded if-gaurd

This commit is contained in:
lilia 2015-03-05 17:47:58 -08:00
parent 7a03c26849
commit 01d5881a71

View file

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