Fix new group ui not showing

pull/749/head
lilia 12 years ago
parent 266600e5ab
commit 2288f8adc1

@ -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…
Cancel
Save