fixed remove buttom visibility

This commit is contained in:
Václav Šmejkal 2024-05-21 17:28:33 +02:00
parent ab264d780f
commit eb7c925857
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -9,6 +9,11 @@
<script> <script>
let right_panel_buffer = null; let right_panel_buffer = null;
$(document).ready(function()
{
$("#remove_btn").hide();
});
$.ajax $.ajax
({ ({
url: "./res/forum/api/list_users.php", url: "./res/forum/api/list_users.php",
@ -20,6 +25,7 @@
$("#left_panel").on("click", ".output", function(event) $("#left_panel").on("click", ".output", function(event)
{ {
$("#remove_btn").show();
if (right_panel_buffer == null) right_panel_buffer = document.getElementById("right_panel").innerHTML; if (right_panel_buffer == null) right_panel_buffer = document.getElementById("right_panel").innerHTML;
$.ajax $.ajax