Update 'frontend.js'
This commit is contained in:
parent
21e14f2c0c
commit
dacc6e4011
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ function createParagraph(elementID, text) {
|
|||
return elem
|
||||
}
|
||||
|
||||
function initBody(bodyID) {
|
||||
function initBody(bodyID = "body") {
|
||||
// Create a new body element with the desired id
|
||||
const newBody = document.createElement("body");
|
||||
newBody.id = bodyID;
|
||||
|
|
Loading…
Reference in a new issue