From: Memet Zx <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Memet Zx <[email protected]>,
GNU/Weeb Mailing List <[email protected]>,
Memet Zx <[email protected]>
Subject: [PATCH gwspamd 2/2] gwspamd: web: Fix closing modal
Date: Wed, 19 Apr 2023 05:37:26 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
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 <[email protected]>
---
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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