Remove unneeded if-gaurd
This commit is contained in:
parent
7a03c26849
commit
01d5881a71
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue