                 star.addClass 'star-set-after'
             i++
         jQuery('#post-score-'+@current_post.id).html score
-        jQuery('#favorited-by').html Favorite.link_to_users @votes["3"]
+        jQuery('#favorited-by').html Favorite.link_to_users @votes[@v.fav]
         false
 
 

            "Great",
            "Favorite"
        ]

    registerVotes: (votes) ->
        @posts = votes


    $(".vote-up").on 'click', ->
        current_score = vote.getVote()
        return false if current_score == vote.v.fav
        vote.set current_score + 1
        false
    
