summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--webclient/app-filter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/app-filter.js b/webclient/app-filter.js
index 64c3bb04de..f007b4c89c 100644
--- a/webclient/app-filter.js
+++ b/webclient/app-filter.js
@@ -58,7 +58,7 @@ angular.module('matrixWebClient')
         angular.forEach(displayNames, function(value, key) {
             if (value.length > 1) {
                 // console.log(key + ": " + value);
-                for (i=0; i < value.length; i++) {
+                for (var i=0; i < value.length; i++) {
                     var v = value[i];
                     members[v].displayname += " (" + v + ")";
                     // console.log(v + " " + members[v]);