diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 0af3853..c990e71 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -28,5 +28,9 @@ $(() => { } $('.link-card').linkCard(); - $('#deleteCheckinModal').deleteCheckinModal(); + const $deleteCheckinModal = $('#deleteCheckinModal').deleteCheckinModal(); + $(document).on('click', '[data-target="#deleteCheckinModal"]', function (event) { + event.preventDefault(); + $deleteCheckinModal.modal('show', this); + }); }); \ No newline at end of file diff --git a/resources/views/ejaculation/show.blade.php b/resources/views/ejaculation/show.blade.php index 2eda57f..0f2c78a 100644 --- a/resources/views/ejaculation/show.blade.php +++ b/resources/views/ejaculation/show.blade.php @@ -36,7 +36,7 @@ @if ($user->isMe()) - + @endif diff --git a/resources/views/user/profile.blade.php b/resources/views/user/profile.blade.php index 66ef3a0..7182f7e 100644 --- a/resources/views/user/profile.blade.php +++ b/resources/views/user/profile.blade.php @@ -42,7 +42,7 @@ @if ($user->isMe()) - + @endif