File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 39
39
ws .onmessage = (message ) => {
40
40
// console.log("WebSocket message: ", message.data);
41
41
// The only message i can currently recieve are the amount of users online. TODO: JSON messages
42
- if (message .data == " 1" ) {
43
- $ (" #activeUsers" ).html (" There is currently <em>one user</em> here." );
44
- } else {
45
- $ (" #activeUsers" ).html (" There are currently <em>" + message .data + " users</em> here." );
46
- }
42
+ // if (message.data == "1") {
43
+ // $("#activeUsers").html("There is currently <em>one user</em> here.");
44
+ // } else {
45
+ // $("#activeUsers").html("There are currently <em>" + message.data + " users</em> here.");
46
+ // }
47
47
};
48
48
window .ws = ws;
49
49
Original file line number Diff line number Diff line change 7
7
8
8
<PageTitle >Replay viewer</PageTitle >
9
9
<h1 >Replay browser for Space Station 14</h1 >
10
- <p id =" activeUsers" >There is currently <em >one user</em > here.</p >
11
10
<hr />
12
11
<SearchBar ></SearchBar >
13
12
<hr />
Original file line number Diff line number Diff line change 8
8
9
9
<PageTitle >Replay viewer</PageTitle >
10
10
<h1 >Replay browser for Space Station 14</h1 >
11
- <p id =" activeUsers" >There is currently <em >one user</em > here.</p >
12
11
<p >Search for replays by using the search bar below</p >
13
12
<a href =" /" class =" btn btn-primary" >Back to main page</a >
14
13
<hr />
You can’t perform that action at this time.
0 commit comments