Commit 12172bd1a7d73015ec7580a3164270406024d847
1 parent
8de60dad
Exists in
master
and in
28 other branches
[comments-refactor-review] Removing js location to crazy place
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
app/views/comment/_comment_form.rhtml
@@ -48,7 +48,6 @@ function check_captcha(button, confirm_action) { | @@ -48,7 +48,6 @@ function check_captcha(button, confirm_action) { | ||
48 | 48 | ||
49 | <% if @comment && @comment.errors.any? %> | 49 | <% if @comment && @comment.errors.any? %> |
50 | <%= error_messages_for :comment %> | 50 | <%= error_messages_for :comment %> |
51 | - <script type="text/javascript">jQuery(function() { document.location.href = '#page-comment-form'; });</script> | ||
52 | <% end %> | 51 | <% end %> |
53 | 52 | ||
54 | <div class="post_comment_box <%= ((defined? show_form) && show_form) ? 'opened' : 'closed' %>"> | 53 | <div class="post_comment_box <%= ((defined? show_form) && show_form) ? 'opened' : 'closed' %>"> |