Sending comment hides preview

This commit is contained in:
Marcin Kurczewski 2013-11-23 15:36:18 +01:00
parent fdd49d783a
commit 7e56fce470

View file

@ -137,6 +137,7 @@ $(function()
} }
else else
{ {
formDom.find('.preview').hide();
$.get(window.location.href, function(data) $.get(window.location.href, function(data)
{ {
$('.comments-wrapper').replaceWith($(data).find('.comments-wrapper')); $('.comments-wrapper').replaceWith($(data).find('.comments-wrapper'));