diff --git a/www/common/toolbar.js b/www/common/toolbar.js
index 6b6323684..942fb586d 100644
--- a/www/common/toolbar.js
+++ b/www/common/toolbar.js
@@ -134,20 +134,20 @@ define([
var data = (userData) ? (userData[user] || null) : null;
var userName = (data) ? data.name : null;
if(userName) {
- if(i === 0) list = ' : ';
+ if(i === 0) { list = ' : '; }
list += userName + ', ';
i++;
}
}
});
return (i > 0) ? list.slice(0, -2) : list;
- }
+ };
var createChangeName = function($container, userList, buttonID) {
var id = uid();
userList.innerHTML = 'Change name';
return $container.find('#'+id)[0];
- }
+ };
var updateUserList = function (myUserName, listElement, userList, userData) {
var meIdx = userList.indexOf(myUserName);
@@ -241,7 +241,7 @@ define([
userData = newUserData;
}
updateUserList(myUserName, userListElement, users, userData);
- }
+ };
var ks = function () {
if (connected) { kickSpinner(spinner, false); }