websockets in faces3.php
This commit is contained in:
parent
36be41bafc
commit
7e53e1666a
1 changed files with 1 additions and 0 deletions
|
@ -430,6 +430,7 @@ echo "</div>"; // .currentHit
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
socket.onmessage = function(e){
|
socket.onmessage = function(e){
|
||||||
|
console.log(e.data);
|
||||||
var message = JSON.parse(e.data);
|
var message = JSON.parse(e.data);
|
||||||
// var server_message = e.data;
|
// var server_message = e.data;
|
||||||
console.log(message);
|
console.log(message);
|
||||||
|
|
Loading…
Reference in a new issue