mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 14:20:22 +08:00
Update index.js
This commit is contained in:
parent
055c628afd
commit
2d39b9be77
@ -352,7 +352,7 @@ window.puter = (function() {
|
|||||||
|
|
||||||
print = function(...args){
|
print = function(...args){
|
||||||
for(let arg of args){
|
for(let arg of args){
|
||||||
document.getElementsByTagName('body')[0].append(arg);
|
document.body.innerHTML += arg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user