diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-21 17:59:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-21 17:59:07 +0100 |
commit | 0045a2647ad3e0e088dacbee8497dbbb7d118269 (patch) | |
tree | 1330c94724c4e830aed01ce077ce3ac28956d927 | |
parent | Only start event streaming after having set up the controllers. (diff) | |
download | synapse-0045a2647ad3e0e088dacbee8497dbbb7d118269.tar.xz |
Add a var.
-rw-r--r-- | webclient/app-filter.js | 2 |
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]); |