updated ui

This commit is contained in:
polarDefender 2024-05-29 08:20:04 -07:00
parent 6e4a01cc51
commit bbcff16dd6
9 changed files with 83 additions and 17 deletions

View file

@ -1,11 +1,21 @@
$(() => {
let backup; let manual_backup;
$("#backup").click(() => {
const checked = $("#backup").prop("checked");
backup = $("#backup").prop("checked");
const nextButton = $("#next-button");
if (checked) {
if (backup || manual_backup) {
nextButton.removeClass("hidden-button");
} else {
nextButton.addClass("hidden-button");
}
});
$("#manual-backup").click(()=>{
manual_backup = $('#manual-backup').prop("checked");
const nextButton = $("#next-button");
if(backup || manual_backup) {
nextButton.removeClass("hidden-button");
} else {
nextButton.addClass("hidden-button");
};
});
});

View file

@ -3,6 +3,10 @@ $(() => {
$("#seed-box-container").removeClass("blur-filter");
});
$("#seed-box-container").click(() => {
$("#seed-box-container").removeClass("blur-filter");
});
$('#copied').click(() => {
const checked = $("#copied").prop('checked');
const nextButton = $("#next-button");