mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
use a different class for alias toggle
This commit is contained in:
parent
80f614da6c
commit
5e6454e6de
1 changed files with 2 additions and 2 deletions
|
@ -211,7 +211,7 @@
|
|||
{% endif %}
|
||||
style="padding-left: 0px"
|
||||
>
|
||||
<input type="checkbox" class="custom-switch-input"
|
||||
<input type="checkbox" class="enable-disable-alias custom-switch-input"
|
||||
data-alias="{{ alias.id }}"
|
||||
data-alias-email="{{ alias.email }}"
|
||||
{{ "checked" if alias.enabled else "" }}>
|
||||
|
@ -527,7 +527,7 @@
|
|||
|
||||
});
|
||||
|
||||
$(".custom-switch-input").change(async function (e) {
|
||||
$(".enable-disable-alias").change(async function (e) {
|
||||
let aliasId = $(this).data("alias");
|
||||
let alias = $(this).data("alias-email");
|
||||
|
||||
|
|
Loading…
Reference in a new issue