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) {
|
new_group: function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('.conversation').trigger('close'); // detach any existing conversation views
|
$('.conversation').trigger('close'); // detach any existing conversation views
|
||||||
new Whisper.NewGroupView({ el: $('.conversation') });
|
new Whisper.NewGroupView();
|
||||||
},
|
},
|
||||||
resize: function (e) {
|
resize: function (e) {
|
||||||
var windowheight = window.innerHeight;
|
var windowheight = window.innerHeight;
|
||||||
|
|
|
@ -39,6 +39,7 @@ var Whisper = Whisper || {};
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
this.$el.prepend($(Mustache.render(this.template)));
|
this.$el.prepend($(Mustache.render(this.template)));
|
||||||
|
Whisper.Layout.setContent(this.$el.show());
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue