a little optimisation

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2023-10-02 22:03:53 +07:00
parent be93b25b41
commit f4d37ebf3a

View File

@ -18,7 +18,7 @@ if (typeof window.reinitializer !== "function") {
/**
* Target element for searching new <link> and <script> elements
*/
root = document.getElementsByTagName("main")[0];
root = document.body.getElementsByTagName("main")[0];
/**
* Instance of the observer