From 00a819de23895f094bdd086020cc808eb115884d Mon Sep 17 00:00:00 2001 From: shibafu Date: Mon, 11 Mar 2019 22:55:32 +0900 Subject: [PATCH] =?UTF-8?q?=E5=89=8A=E9=99=A4=E3=83=A2=E3=83=BC=E3=83=80?= =?UTF-8?q?=E3=83=AB=E3=81=AE=E5=88=9D=E6=9C=9F=E5=8C=96=E3=81=8C=E5=AE=8C?= =?UTF-8?q?=E4=BA=86=E3=81=97=E3=81=A6=E3=81=8B=E3=82=89=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=83=9C=E3=82=BF=E3=83=B3=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF?= =?UTF-8?q?=E3=82=A4=E3=83=99=E3=83=B3=E3=83=88=E3=82=92=E4=BB=95=E6=8E=9B?= =?UTF-8?q?=E3=81=91=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/app.js | 6 +++++- resources/views/ejaculation/show.blade.php | 2 +- resources/views/user/profile.blade.php | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) 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