Explorar el Código

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

master
hristoterezov hace 11 años
padre
commit
2f8efe7a6a
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      app.js

+ 3
- 2
app.js Ver fichero

@@ -190,10 +190,11 @@ function doJoin() {
190 190
         if (path.length > 1) {
191 191
             roomnode = path.substr(1).toLowerCase();
192 192
         } else {
193
-            roomnode = RoomNameGenerator.generateRoomWithoutSeparator(3);
193
+            var word = RoomNameGenerator.generateRoomWithoutSeparator(3);
194
+            roomnode = word.toLowerCase();
194 195
 
195 196
             window.history.pushState('VideoChat',
196
-                    'Room: ' + roomnode, window.location.pathname + roomnode);
197
+                    'Room: ' + word, window.location.pathname + word);
197 198
         }
198 199
     }
199 200
 

Loading…
Cancelar
Guardar