Przeglądaj źródła

Output fix on test page

Taddeus Kroes 12 lat temu
rodzic
commit
7c668d5711
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      test.html

+ 1 - 1
test.html

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