stratboy Posted July 23, 2015 Share Posted July 23, 2015 Hi! I usually activate the move to footer option for scripts.Though often I would need a better control over what scripts should go on the footer. Specifically, sometimes I need to set some window vars before my scripts, sometimes after.Is there a way to at least 'deactivate' the defer mode for some scripts? Thank you 1 Link to comment Share on other sites More sharing options...
LazyCircles Posted April 7, 2017 Share Posted April 7, 2017 Hi @stratboy, Did you find any solution for this topic? Thanks. Kind Regards, Bruno Link to comment Share on other sites More sharing options...
stratboy Posted April 8, 2017 Author Share Posted April 8, 2017 Yes: <script data-keepinline> console.log('ok'); </script> Link to comment Share on other sites More sharing options...
alicu90 Posted May 7, 2017 Share Posted May 7, 2017 How did you move the scripts to the footer? Is it possible to do the same in Prestashop 1.7? Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now