Fix new group ui not showing

This commit is contained in:
lilia 2014-10-09 19:02:52 -07:00
parent 266600e5ab
commit 2288f8adc1
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ Whisper.Layout = new (Backbone.View.extend({
new_group: function(e) {
e.preventDefault();
$('.conversation').trigger('close'); // detach any existing conversation views
new Whisper.NewGroupView({ el: $('.conversation') });
new Whisper.NewGroupView();
},
resize: function (e) {
var windowheight = window.innerHeight;

View file

@ -39,6 +39,7 @@ var Whisper = Whisper || {};
render: function() {
this.$el.prepend($(Mustache.render(this.template)));
Whisper.Layout.setContent(this.$el.show());
return this;
}
});