Answer the question
In order to leave comments, you need to log in
How can I fix the script so that it runs every time the page is reloaded?
Good afternoon! Here is the script - https://codepen.io/victoryzorkina/pen/xxEXPXV , it works when the page is loaded, after changing the language the page freezes because of it, after clearing the cache everything works again.
Answer the question
In order to leave comments, you need to log in
wrap code in
jQuery(function( $ ) {
// Your code using failsafe $ alias here...
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question