diff --git a/resources/views/linkstack/modules/admin-bar.blade.php b/resources/views/linkstack/modules/admin-bar.blade.php index a0352f4..b662a27 100644 --- a/resources/views/linkstack/modules/admin-bar.blade.php +++ b/resources/views/linkstack/modules/admin-bar.blade.php @@ -131,18 +131,20 @@ if(Auth::user()->id == $userinfo->id){ document.getElementById('logoutForm').submit(); } - + } + document.getElementById("confirmationLink").addEventListener("click", function(event) { + event.preventDefault(); + showConfirmation(); + }); + + @endif