Answer the question
In order to leave comments, you need to log in
Ruby on Rails | JavaScript - Why doesn't JS work without reloading the page?
There is an element, after clicking on which the block expands! $(document).on('page:change', function () {....}
But on HEROKU, the script works correctly only after a complete reload of the page!
And everything is fine on the local server!
What is the reason I can not understand!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question