Skip to content

Commit

Permalink
Minor tweak: use exact equality for LostContactCount.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinekitty committed Jul 1, 2016
1 parent a8a708e commit 3f50f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/jcclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@
function(request) {
// On failure, go into Lost Contact mode but keep polling for reconnect.
++LostContactCount;
if (LostContactCount == 1) {
if (LostContactCount === 1) {
SetActiveDiv('LostContactDiv');
}
PollTimer = window.setTimeout(PollCallerId, 2000);
Expand Down

0 comments on commit 3f50f3f

Please sign in to comment.