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

View file

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