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; } } }