Merge pull request #104 from Absurdon/master

Fixed wrong function used to reset election timeout
This commit is contained in:
Absurdon 2017-03-01 15:51:06 +01:00 committed by GitHub
commit 45d488def1
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ Gather.prototype.startElectionCountdown = function () {
};
Gather.prototype.cancelElectionCountdown = function () {
clearInterval(this.election.timer);
clearTimeout(this.election.timer);
this.election.timer = null;
this.election.startTime = null;
};