Fix new group ui not showing
This commit is contained in:
parent
266600e5ab
commit
2288f8adc1
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -39,6 +39,7 @@ var Whisper = Whisper || {};
|
|||
|
||||
render: function() {
|
||||
this.$el.prepend($(Mustache.render(this.template)));
|
||||
Whisper.Layout.setContent(this.$el.show());
|
||||
return this;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue