Commit becae741ae2c0e2287c762fc7396f76d8ceb79c1

Authored by OpenWapp Developer
1 parent 514272b6bf

Fixing _onceLogged() stall mechanism.

Showing 1 changed file with 1 additions and 1 deletions

app/scripts/models/auth.js View file @ becae74
... ... @@ -181,7 +181,7 @@
181 181 if (global.client.isOnline) {
182 182 callback.call(this);
183 183 } else {
184   - this.once('login:success', callback.call(this));
  184 + this.once('login:success', callback.bind(this));
185 185 this.checkCredentials();
186 186 }
187 187 },