diff --git a/res/forum/home/home.html b/res/forum/home/home.html index 220d4c7..a50ba4d 100644 --- a/res/forum/home/home.html +++ b/res/forum/home/home.html @@ -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();