fixed moderation_popup visibility problems

This commit is contained in:
Václav Šmejkal 2024-05-25 17:34:00 +02:00
parent ac88a5ff47
commit 7455c22184
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -112,7 +112,7 @@
$("#image_popup").children("#image_popup_img").attr("alt", $(this).parent(".post").children(".post_info").children("div").children(".post_name").html());
});
$(document).on("click", ".post_options", function(event)
$("#posts").on("click", ".post_options", function(event)
{
let post_author = $(this).parent(".post").children(".post_info").children("div").children(".post_author").html();
let post_title = post_author + " - " + $(this).parent(".post").children(".post_info").children("div").children(".post_name").html();