Skip to content

Commit 11037dc

Browse files
authored
Add id and class to email nudge (#2835)
1 parent 02d7c62 commit 11037dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

templates/components/snackbar.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{% if can_send_mail() %}
22
<div
3+
id="ctfdio-snackbar-email-nudge"
34
x-data
45
x-show="window.init.userId && !window.init.userVerified && localStorage.getItem('remind_email_verify') != window.init.userId && (!['/team', '/teams/join', '/teams/new'].includes(window.location.pathname) || window.init.teamId != null)"
5-
class="alert alert-info alert-dismissible col-md-4 col-10 position-fixed text-center m-0"
6+
class="alert alert-info alert-dismissible col-md-4 col-10 position-fixed text-center m-0 ctfdio-email-nudge"
67
style="bottom: 45px; left: 50%; transform: translateX(-50%); z-index: 1040; display: none;"
78
role="alert"
89
>

0 commit comments

Comments
 (0)