Totally Zenned
- Join Date:
- Aug 2014
- Location:
- Lisbon
- Posts:
- 597
- Plugin Contributions:
- 0
V155 Admin jquery in the header
Hi
Just notice the the jquery in the admin is loaded in the body after the <nav> ends.
This leaves out, whatever jquery code that is in the header.
In my particular case, I was /am making a plugin or ep4 featured to import bookx fields, and uses jquery.
Just yesterday I've install v155 , and I saw that jquery was already loaded. Good.
EP4 has a version checker , not sure if specifically to defined versions or just separates 1.3 from 1.5 in general.
Anyway, this would be simpler to remove ( the jquery CDN ), either by config or just a readme note to 155 users ( probably me ), to comment the line that loads jquery.
However, even so, the rest of jquery script is in the header.
In EP4 , I can insert that js bellow that v155 jquery, but it will be in the the middle of the <body>
I wonder if this is a good practice for whoever needs to have js, to throw him to the body... ahah, just remember monthy phythons:
Thwow him to the floor again, sir?
Or, v155 has the hability to place this kind of scripts in the footer ?
Thanks
“Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison