converse-controlbox: Retain open state after logging in.
This commit is contained in:
parent
62c8177142
commit
eb82d64426
|
@ -259,7 +259,7 @@
|
|||
onConnected: function () {
|
||||
if (this.model.get('connected')) {
|
||||
this.render().insertRoster();
|
||||
this.model.save('closed', !this.$el.is(':visible'));
|
||||
this.model.save();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -328,6 +328,7 @@
|
|||
utils.fadeIn(this.el, function () {
|
||||
_converse.controlboxtoggle.updateOnlineCount();
|
||||
utils.refreshWebkit();
|
||||
that.model.set('closed', false);
|
||||
_converse.emit('controlBoxOpened', that);
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user