a little optimisation
This commit is contained in:
parent
be93b25b41
commit
f4d37ebf3a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue