From 2d39b9be7754b5c2588f83c28183bbf0d71c6aee Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Thu, 22 Aug 2024 20:47:02 -0700 Subject: [PATCH] Update index.js --- src/puter-js/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/puter-js/src/index.js b/src/puter-js/src/index.js index 757439b9..c2e8bb56 100644 --- a/src/puter-js/src/index.js +++ b/src/puter-js/src/index.js @@ -352,7 +352,7 @@ window.puter = (function() { print = function(...args){ for(let arg of args){ - document.getElementsByTagName('body')[0].append(arg); + document.body.innerHTML += arg; } } }