Closed nicovigil1 closed 3 years ago
The latest version?
Got it working! Turns out it was loading before the html did - I ended up having to wrap it in a document ready block(?) like so
$(document).ready(function(){
$('.ui.rating')
.rating("disable")
;
}
)
rails version 5.2.2
I've added eveything to my application.js. I had to hard code the required js for ratings in the html for it to work on localhost, however when I deploy to heroku I cannot get the ratings to show up at all. any clue on how to load the js into the asset pipeline?