retina.js not loading properly on main page (2.2.4)
Zhaan
✭✭
Hi again, VF!
I'm using retina.js for my forum logo, but I'm having some trouble getting it to work properly. Basically, it doesn't load on the home page (all discussions) unless you first visit a category page, and then return to home. In other words, you have to "trigger" it somewhere else before it works on the home page.
It's not a huge issue by any means, but I'd like to get it working properly.
This is where I put the code:
</footer>
<script type="text/javascript" src="/retina-1.1.0.js"></script>
{event name="AfterBody"}
</body>
</html>
As always, any help will be appreciated.
0
Comments
Are you putting that script in a tpl?
You need to use { literal } tags around it or it gets ignored
{literal}script here{/literal}❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Ah.. but it does work on category pages. Strange.
Thanks for the answer!