You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
backstretch-rails is loading as I can see in the console, but the plugin itself is not working in my view.
At the end of my body, I placed $.backstretch("<%= image_tag 'movie-photo.png' %>"); inside of a script tag, but the background isn't changing at all. I'm using jquery-rails 4.0.2.
Update: The gem is working when I place the code inside of the application.js, and also when I place the code inside of a stand-alone JS file. But either way, backstretch-js is overriding the background for all views/controllers. How can I stop it from going beyond a single page?
The text was updated successfully, but these errors were encountered:
backstretch-rails is loading as I can see in the console, but the plugin itself is not working in my view.
At the end of my body, I placed $.backstretch("<%= image_tag 'movie-photo.png' %>"); inside of a script tag, but the background isn't changing at all. I'm using jquery-rails 4.0.2.
Update: The gem is working when I place the code inside of the application.js, and also when I place the code inside of a stand-alone JS file. But either way, backstretch-js is overriding the background for all views/controllers. How can I stop it from going beyond a single page?
The text was updated successfully, but these errors were encountered: