diff --git a/public/javascripts/view.js b/public/javascripts/view.js index 0a916e19a..77966748b 100644 --- a/public/javascripts/view.js +++ b/public/javascripts/view.js @@ -61,7 +61,8 @@ $(document).ready(function(){ // in field label plugin - $(".show_post_comments").live('click', function() { + $(".show_post_comments").live('click', function(event) { + event.preventDefault(); if( $(this).hasClass( "visible" )) { $(this).html($(this).html().replace("hide", "show")); $(this).parents("li").children(".comments").fadeOut(100);