i'm quite new in ruby on rails developing, i'm learning everyday. I am experiencing a very strange issue.
I use the Masonry Jquery plugin to stylish my app, everything is working fine on chrome, but when i use firefox, safari i'm experiencing issues.
I have to refresh the page to load the jquery plugin, and when i acces the page from my navbar links it doesn't load de the script.
Here is my code jquery code:
$('#masonry-container').ready ->
$('#masonry-container').imagesLoaded ->
$('#masonry-container').masonry
isFitWidth: true
The thing is that when i access the page typing the url, the script load, when i access the page via my navbar the script doesn't load.
Any ideas what could be wrong?
Big thanks guys