Hi Guys
How do I add async to the JavaScript link below?
$this->API->addJS($this->API->URLtemplate() . '/js/gk.scripts.js');
$this->API->addJS($this->API->URLtemplate() . '/js/gk.menu.js');
This is what I have now:
<script type="text/javascript" src="/sub1/beta2/media/system/js/mootools-core.js"></script>
I would like to have it like this:
<script async type="text/javascript" src="/sub1/beta2/media/system/js/mootools-core.js"></script>