1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/13821] Support displaying ignored posts on post review page

PHPBB3-13821
This commit is contained in:
Marc Alexander
2022-01-22 22:23:17 +01:00
parent 6caf2f83ad
commit 9f09dec049
5 changed files with 23 additions and 8 deletions

View File

@@ -361,6 +361,17 @@ $('.display_post').click(function(e) {
$('#post_hidden' + postId).hide();
});
/**
* Display hidden post on post review page
*/
$('.display_post_review').on('click', function(e) {
e.preventDefault();
let $displayPostLink = $(this);
$displayPostLink.closest('.post-ignore').removeClass('post-ignore');
$displayPostLink.hide();
});
/**
* Toggle the member search panel in memberlist.php.
*