That must be !prebind

This commit is contained in:
JC Brand 2013-03-22 17:43:51 +02:00
parent 7a90876ad7
commit a1b7eed7ac

View File

@ -761,7 +761,7 @@
render: function () {
this.$el.html(this.template(this.model.toJSON()));
if ((xmppchat.prebind) && (!xmppchat.connection)) {
if ((!xmppchat.prebind) && (!xmppchat.connection)) {
// Add login panel if the user still has to authenticate
this.loginpanel = new xmppchat.LoginPanel();
this.loginpanel.$parent = this.$el;