Add a var.

This commit is contained in:
Erik Johnston 2014-08-21 17:59:07 +01:00
parent 2e1ab9db08
commit 0045a2647a
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ angular.module('matrixWebClient')
angular.forEach(displayNames, function(value, key) { angular.forEach(displayNames, function(value, key) {
if (value.length > 1) { if (value.length > 1) {
// console.log(key + ": " + value); // console.log(key + ": " + value);
for (i=0; i < value.length; i++) { for (var i=0; i < value.length; i++) {
var v = value[i]; var v = value[i];
members[v].displayname += " (" + v + ")"; members[v].displayname += " (" + v + ")";
// console.log(v + " " + members[v]); // console.log(v + " " + members[v]);