diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index 7ab0903..6af9993 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -22,5 +22,9 @@ $(() => { $('.tis-page-selector').pageSelector(); $('.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