Skip to content

Commit

Permalink
Deploy 0.8.12
Browse files Browse the repository at this point in the history
  • Loading branch information
GianniCarlo committed Dec 21, 2016
1 parent 418a51f commit 8de273b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions dist/monkey.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.aliveCounter = 3;
var storedMonkeyId = db.getMonkeyId();
this.ping();
//if no user logged in, do nothing
if (storedMonkeyId == null || storedMonkeyId === '') {
return;
}

if (this.socketConnection == null && storedMonkeyId != null && storedMonkeyId !== '') {
this.startConnection();
return;
}
this.startConnection();
}.bind(this);

xhr.send();
Expand Down

0 comments on commit 8de273b

Please sign in to comment.