Fadeout fix.

This commit is contained in:
Alexey Skobkin 2015-01-20 11:51:46 +04:00
parent 2fb3dca119
commit 5d3e09d99c

View file

@ -595,7 +595,7 @@ $(document).ready(function() {
postId: $post.data('id'), postId: $post.data('id'),
author: $('#name h1').text(), author: $('#name h1').text(),
text: $(this).val(), text: $(this).val(),
fadeOut: false fadeOut: true
}, function($comment) { }, function($comment) {
// If list mode or not addressed to other comment // If list mode or not addressed to other comment
if ($('#comments #tree-switch a').eq(0).hasClass('active') || ($post.data('comment-id') === undefined)) { if ($('#comments #tree-switch a').eq(0).hasClass('active') || ($post.data('comment-id') === undefined)) {