Fix a typo.

This commit is contained in:
Boris Grozev 2015-01-21 19:01:58 +02:00
parent 447d8f5677
commit 1e9a463245
2 changed files with 2 additions and 2 deletions

View File

@ -590,7 +590,7 @@ UI.checkForNicknameAndJoin = function () {
if (config.useNicks) {
nick = window.prompt('Your nickname (optional)');
}
xmpp.joinRooom(roomName, config.useNicks, nick);
xmpp.joinRoom(roomName, config.useNicks, nick);
}

View File

@ -159,7 +159,7 @@ var XMPP = {
promptLogin: function () {
UI.showLoginPopup(connect);
},
joinRooom: function(roomName, useNicks, nick)
joinRoom: function(roomName, useNicks, nick)
{
var roomjid;
roomjid = roomName;