Skip to content

Commit

Permalink
Fix to disable debug mode since new stats rework fully accomplished
Browse files Browse the repository at this point in the history
Yay! OMG I cannot believe it's finally done! 🥲
  • Loading branch information
iliajie committed Jul 4, 2024
1 parent 2fa937a commit fb699b9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extensions/stats/stats.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified extensions/stats/stats.min.js.gz
Binary file not shown.
10 changes: 5 additions & 5 deletions extensions/stats/stats.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ const stats = {
// Do we have socket opened?
if (data.success) {
// Open socket
console.warn("WebSocket connection opened", data);
// console.warn("WebSocket connection opened", data);
this.socket = new WebSocket(data.socket);
// On socket open
this.socket.onopen = () => {
this.activating = 0;
console.log("WebSocket connection established",
this.getSocketDefs());
// console.log("WebSocket connection established",
// this.getSocketDefs());
this.socket.send(
JSON.stringify(this.getSocketDefs()));
};
Expand All @@ -204,12 +204,12 @@ const stats = {
// this.canRender.last = this.canRender();
// this.updateSocket();
// }
console.log("Received stats", renderType, message);
// console.log("Received stats", renderType, message);
this.render(message, renderType);
};
// On socket close
this.socket.onclose = () => {
console.warn("WebSocket connection closed");
// console.warn("WebSocket connection closed");
setTimeout(() => {
this.socket = null;
this.activating = 0;
Expand Down
2 changes: 1 addition & 1 deletion theme.info
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ bootstrap=3
spa=1
nomodcall=xnavigation=1
version=21.20-RC4
mversion=04
mversion=05
bversion=00
webmin=1
usermin=1
Expand Down
Binary file modified unauthenticated/js/bundle.min.js.gz
Binary file not shown.

0 comments on commit fb699b9

Please sign in to comment.