Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- //some code
- //
- {% with user|get_song_rating:opts.id as rated %}
- {% if rated %}
- $off.unbind('click').unbind('mousemove').unbind('mouseenter').unbind('mouseleave');
- $off.css('cursor', 'default'); $on.css('cursor', 'default');
- $this.attr('title', 'Your rating: ' + rated.points.toFixed(1));
- {% endif %}
- {% endwith %}
- </script>
Add Comment
Please, Sign In to add comment