Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #360136

    I’ve noticed that you load /js/avia-compat.js into the head.

    It is recommended to load javascript files before </body> so that safe on a page load.

    Should I go ahead and change parameter $in_footer to ‘true’?

    Thanks,
    Alex

    #360439

    Hi Alex!

    Doing that will cause some unexpected results, quoting the comment found at the start of that file:

    /* 
    	this prevents dom flickering for elements hidden with js, needs to be outside of dom.ready event.also adds several extra classes for better browser support 
    	this is a separate file that needs to be loaded at the top of the page. other js functions are loaded before the closing body tag to make the site render faster
    */
    

    Regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.