js and css default values update

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-10-02 21:46:35 +07:00
parent b634533ff0
commit be93b25b41

View File

@ -5,15 +5,15 @@ if (typeof window.reinitializer !== "function") {
// Initialize of the class in global namespace // Initialize of the class in global namespace
window.reinitializer = class reinitializer { window.reinitializer = class reinitializer {
/**
* Parent element for location <script> elements
*/
js = document.getElementsByTagName("body")[0];
/** /**
* Parent element for location <link> elements * Parent element for location <link> elements
*/ */
css = document.getElementsByTagName("head")[0]; css = document.head;
/**
* Parent element for location <script> elements
*/
js = document.body;
/** /**
* Target element for searching new <link> and <script> elements * Target element for searching new <link> and <script> elements