Fixed wrong function used to reset election timeout

This commit is contained in:
Absurdon 2017-03-01 15:23:00 +01:00
parent 065e295ac9
commit 9433deab83

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;
};