Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Removing an extra reconnecting line.
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines committed May 17, 2018
1 parent 954dde1 commit 1cb561a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/src/app/components/poll/poll.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export class PollComponent implements OnInit {
setInterval(() => {

if (this.pollService.ws.getReadyState() != 1) {
console.log("Reconnecting to websocket");
this.websocketReconnect();
}
}, 5000);
Expand Down Expand Up @@ -514,7 +513,6 @@ export class PollComponent implements OnInit {
text: userSearchString
};
let index = this.poll.users.findIndex(u => u.name.includes(ulm.text));
console.log(index);
if (index != -1) {
ulm.user = this.poll.users[index];
participation++;
Expand Down

0 comments on commit 1cb561a

Please sign in to comment.