2020-08-09 11:10:41 +02:00
|
|
|
function spam(commentID) {
|
|
|
|
$.post(learncommentPath, {id: commentID, category: 'spam'}).done(function() {
|
|
|
|
location.reload();
|
|
|
|
});
|
2011-12-13 12:29:05 +01:00
|
|
|
}
|
|
|
|
|
2020-08-09 11:10:41 +02:00
|
|
|
function ham(commentID) {
|
|
|
|
$.post(learncommentPath, {id: commentID, category: 'ham'}).done(function() {
|
|
|
|
location.reload();
|
|
|
|
});
|
|
|
|
}
|