fix forum mod script

pull/5131/head
Thibault Duplessis 2019-05-20 09:35:57 +02:00
parent cdcde8c9ff
commit 04e437417a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ $(function() {
$('.forum').on('click', 'a.delete', function() {
$.post($(this).attr("href"));
$(this).closest(".post").hide();
$(this).closest(".forum-post").hide();
return false;
}).on('click', 'form.unsub button', function() {
var $form = $(this).parent().toggleClass('on off');