Fix reference to missing parameter.

This commit is contained in:
JC Brand 2017-02-17 22:07:11 +01:00
parent 6379b0dd7a
commit f83043e5ab

View File

@ -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) {