Reload comments bug fix

This commit is contained in:
Lars van Hijfte
2017-01-31 13:56:34 +01:00
parent 794b5ab294
commit 2dd7dd8140

View File

@@ -4,9 +4,7 @@ function postComment(buttonValue) {
$.post(
"API/postComment.php",
formData
).done(function(data) {
console.log(data);
});
);
$("#newcomment").val("");
@@ -15,6 +13,6 @@ function postComment(buttonValue) {
"API/loadPost.php",
$("#newcommentform").serialize()
).done(function (data) {
$('#modal-response').html(data);
$('#modal-response').html(fancyText(data));
});
}