mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-01-24 10:10:58 +00:00
Merge pull request #104 from Absurdon/master
Fixed wrong function used to reset election timeout
This commit is contained in:
commit
45d488def1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue