From: Memet Zx <zxce3@gnuweeb.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Memet Zx <zxce3@gnuweeb.org>,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
Memet Zx <memetpea25@gmail.com>
Subject: [PATCH gwspamd 2/2] gwspamd: web: Fix closing modal
Date: Wed, 19 Apr 2023 05:37:26 +0700 [thread overview]
Message-ID: <20230418223726.139701-2-zxce3@gnuweeb.org> (raw)
In-Reply-To: <20230418223726.139701-1-zxce3@gnuweeb.org>
typo when closing modal, shouldn't have to use the same modal id,
just use `modal` for example `data-dismiss="modal"`.
Signed-off-by: Memet Zx <zxce3@gnuweeb.org>
---
web/views/components/modal.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/web/views/components/modal.php b/web/views/components/modal.php
index 03176b8..08e86b9 100644
--- a/web/views/components/modal.php
+++ b/web/views/components/modal.php
@@ -26,8 +26,8 @@
<input type="range" min="1" max="5" value="1" step="0.01" id="photo_range" style="display: none;" />
<input type="file" id="photo" name="photo" accept=".jpg,.png,.gif,.jpeg" />
<div class="text-right mt-20">
- <button type="button" onclick="apply_photo();" data-dismiss="modal-profile" class="btn">Apply photo</button>
- <button class="btn" data-dismiss="modal-profile">Close</button>
+ <button type="button" onclick="apply_photo();" data-dismiss="modal" class="btn">Apply photo</button>
+ <button class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
--
Memet Zx
next prev parent reply other threads:[~2023-04-18 22:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-18 22:37 [PATCH gwspamd 1/2] gwspamd: web: Shirnk the table to 40rem Memet Zx
2023-04-18 22:37 ` Memet Zx [this message]
2023-04-18 22:45 ` Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230418223726.139701-2-zxce3@gnuweeb.org \
--to=zxce3@gnuweeb.org \
--cc=ammarfaizi2@gnuweeb.org \
--cc=gwml@vger.gnuweeb.org \
--cc=memetpea25@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox