I have an object (in this case a rating object from js-kit) that I want to make invisible if the rating value is \'unrated\'. I\'m having trouble with getting the right jQue
Based on the HTML you provided,I don't see where the 'unrated' text you're testing for is coming from.
However, if that is the entirety of the text in that div, just test for it directly.
if ($('.js-rating-labelText').text() == 'unrated'){ $(this).hide(); }