Merge branch 'master' of github.com:diaspora/diaspora_rails
This commit is contained in:
commit
df6ea31d3d
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue