Taddeus Kroes 12 лет назад
Родитель
Сommit
7c668d5711
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test.html

+ 1 - 1
test.html

@@ -20,7 +20,7 @@
             };
 
             ws.onmessage = function(msg) {
-                log('Received "' + msg + '", closing connection');
+                log('Received "' + msg.data + '", closing connection');
                 ws.close();
             };