summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-19 11:41:49 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-19 11:41:49 +0100
commit270825ab2a3e16bb8ffcdbcea058efd28a38e8e1 (patch)
treec4cfe7b67a2980cd99b5a1315fc73f77f1f76f2f /webclient
parentMerge branch 'develop' of github.com:matrix-org/synapse (diff)
downloadsynapse-270825ab2a3e16bb8ffcdbcea058efd28a38e8e1.tar.xz
Fix undefined variable error
Diffstat (limited to 'webclient')
-rw-r--r--webclient/components/matrix/matrix-call.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/components/matrix/matrix-call.js b/webclient/components/matrix/matrix-call.js
index 2ecb8b05ff..d05047eebb 100644
--- a/webclient/components/matrix/matrix-call.js
+++ b/webclient/components/matrix/matrix-call.js
@@ -429,7 +429,7 @@ angular.module('MatrixCall', [])
         }
 
         if (this.candidateSendTries > 5) {
-            console.log("Failed to send candidates on attempt "+ev.tries+". Giving up for now.");
+            console.log("Failed to send candidates on attempt "+this.candidateSendTries+". Giving up for now.");
             this.candidateSendTries = 0;
             return;
         }