From 8ce607d787982bc5af123b6b138ef9d7c99e900c Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 4 Jul 2025 05:50:54 +0200 Subject: [PATCH] Disable the patch. --- src/snek/templates/sandbox.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/snek/templates/sandbox.html b/src/snek/templates/sandbox.html index 7e2a038..68ef32e 100644 --- a/src/snek/templates/sandbox.html +++ b/src/snek/templates/sandbox.html @@ -20,7 +20,7 @@ class StarField { this.originalColor = getComputedStyle(document.documentElement).getPropertyValue("--star-color").trim(); this._createStars(); window.stars = this.positionMap; - this.patchConsole() + //this.patchConsole() this.starSignal = (() => { const positionMap = this.positionMap; @@ -241,6 +241,7 @@ const originalConsole = { }; const me = this // Override console methods + console.info = function(...args) { me.showLogEvent('info', args); me.createConsoleStar('info', args);