• Plugin & Theme Dev Anime Lovers GNU/Linux

    Okay so I wrapped everything in a div with one of my crazy user interface experiments. Everything within the <body> is wrapped in one <div>. Of course, now I am getting an error because like I figured, something is dependent to the body.

    document.body.insertBefore(taskbar.taskbar, footerEl.nextSibling);
    

    How do I change this to bind to the div instead of the body? I don't want to have the need to create a fragment, that would overcomplicate something simple.

    I could perhaps do much more if I knew how to fix this.

    Uncaught NotFoundError: An attempt was made to reference a Node in a context where it does not exist.
    

    Now is there anything I might need to change that is dependent on using the body tag like this?

Suggested Topics

| |