From 01d5881a71382c2300e8f4e09720bf921b0ed347 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 5 Mar 2015 17:47:58 -0800 Subject: [PATCH] Remove unneeded if-gaurd --- js/views/new_group_update_view.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/views/new_group_update_view.js b/js/views/new_group_update_view.js index 6b365c78..6481b101 100644 --- a/js/views/new_group_update_view.js +++ b/js/views/new_group_update_view.js @@ -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') });