Fixes the issue with the wrong value of the invite dialog.(reported by Timmi)

pull/112/head
hristoterezov 11 years ago
parent c7a5f5cb9b
commit 2f8efe7a6a
  1. 5
      app.js

@ -190,10 +190,11 @@ function doJoin() {
if (path.length > 1) {
roomnode = path.substr(1).toLowerCase();
} else {
roomnode = RoomNameGenerator.generateRoomWithoutSeparator(3);
var word = RoomNameGenerator.generateRoomWithoutSeparator(3);
roomnode = word.toLowerCase();
window.history.pushState('VideoChat',
'Room: ' + roomnode, window.location.pathname + roomnode);
'Room: ' + word, window.location.pathname + word);
}
}

Loading…
Cancel
Save