diff --git a/common/static/coffee/src/discussion/views/thread_response_show_view.coffee b/common/static/coffee/src/discussion/views/thread_response_show_view.coffee index 60371bbf60..43b2d3055e 100644 --- a/common/static/coffee/src/discussion/views/thread_response_show_view.coffee +++ b/common/static/coffee/src/discussion/views/thread_response_show_view.coffee @@ -52,11 +52,11 @@ if Backbone? @$(".vote-btn span.sr").html("votes (click to remove your vote)") else @unvote() - @$(".vote-btn span.sr").html("votes (click vote)") + @$(".vote-btn span.sr").html("votes (click to vote)") vote: -> url = @model.urlFor("upvote") - @$(".votes-count-number").html((parseInt(@$(".votes-count-number").html()) + 1 ) + '') + @$(".votes-count-number").html((parseInt(@$(".votes-count-number").html()) + 1) + '') DiscussionUtil.safeAjax $elem: @$(".discussion-vote") url: url @@ -67,7 +67,7 @@ if Backbone? unvote: -> url = @model.urlFor("unvote") - @$(".votes-count-number").html((parseInt(@$(".votes-count-number").html()) - 1 )+'') + @$(".votes-count-number").html((parseInt(@$(".votes-count-number").html()) - 1)+'') DiscussionUtil.safeAjax $elem: @$(".discussion-vote") url: url @@ -76,7 +76,6 @@ if Backbone? if textStatus == 'success' @model.set(response) - edit: (event) -> @trigger "response:edit", event