using user_info.php instead of open_user fn

This commit is contained in:
Václav Šmejkal 2024-05-20 20:26:04 +02:00
parent b48cd0c5a6
commit e329026fc7
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -18,6 +18,13 @@
$("#left_panel").on("click", ".output", function(event)
{
open_user(event.target.innerHTML);
$.ajax
({
url: "./res/forum/api/user_info.php?username=" + event.target.innerHTML,
success: function(result)
{
$("#right_panel").html(result);
}
});
});
</script>