If you want to leave it in head you can try using the "defer" boolean attribute on the script tag link.
Update: even adding "defer" to the script did not work. My guess it is uses the point where the script is loaded to start inserting its DOM tree. So it must be loaded just before the body end tab.
If you are familiar with javascript you can probably change this behaviour.
Last edited by KevinH; 04-05-2023 at 06:49 PM.
|