upgraded to jquery 1.5.1, fixed comment voting ajax
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<% if @error %>
|
||||
alert(<%= escape_javascript(@error.to_s) %>);
|
||||
alert("<%= escape_javascript(@error.to_s) %>");
|
||||
<% else %>
|
||||
$("#score-for-comment-<%= @comment.id %>").html("<%= pluralize @comment.score, 'point' %>");
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user