major refactoring of javascripts
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<% if @error %>
|
||||
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