Jump to content
DARKF3D3

No script id when "move javascript to the end" performance setting it's enabled

Recommended Posts

I have a problem with the performance setting "move javascript to the end" and a script of the module.
 
With "move javascript to the end" disabled:

<script id="my-script-id" type="text/javascript" src="http://website-adress.com/scripts/trackjs.js">
</script>

With "move javascript to the end" enabled:

<script type="text/javascript" src="http://website-adress.com/scripts/trackjs.js">
</script>

So if I enable that setting the module stop working, someone know one this happen?

Share this post


Link to post
Share on other sites

a quick hack would be to hard code that script into the themes header.tpl or footer.tpl and remove it from the module, until such time a fix is found.

Share this post


Link to post
Share on other sites

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More