Commit f83043e5 authored by JC Brand's avatar JC Brand

Fix reference to missing parameter.

parent 6379b0dd
......@@ -743,7 +743,7 @@
return this;
},
afterShown: function () {
afterShown: function (focus) {
if (_converse.connection.connected) {
// Without a connection, we haven't yet initialized
// localstorage
......@@ -762,7 +762,7 @@
if (focus) { this.focus(); }
return;
}
utils.fadeIn(this.el, this.afterShown.bind(this));
utils.fadeIn(this.el, _.bind(this.afterShown, this, focus));
},
show: function (focus) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment