Skip to content
Extraits de code Groupes Projets
Valider f71b5b51 rédigé par ilya's avatar ilya
Parcourir les fichiers

Merge branch 'master' of github.com:diaspora/diaspora_rails

parents 14e5b23e bb325cbf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -35,9 +35,13 @@ ...@@ -35,9 +35,13 @@
} }
function processComment(post_id, html){ function processComment(post_id, html){
$('#'+ post_id + ' .comment_set li:last' ).before( post = $('#' + post_id)[0]
$(' .comment_set li:last', post ).before(
$(html).fadeIn("fast", function(){}) $(html).fadeIn("fast", function(){})
); );
toggler = $('.show_post_comments', post)
toggler.html(
toggler.html().replace(/\d/,$('.comment_set', post)[0].childElementCount -1));
} }
function processPost(className, html){ function processPost(className, html){
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter