This commit is contained in:
Son 2021-11-03 10:53:39 +01:00
parent 51a85011b1
commit 1fd9a344d4
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ function confirmDeleteAlias() {
},
}
})
});
}
$(".enable-disable-alias").change(async function () {
@ -113,7 +113,7 @@ $(".enable-disable-pgp").change(async function (e) {
// reset to the original value
$(this).prop("checked", oldValue);
}
} catch (e) {
} catch (err) {
toastr.error("Sorry for the inconvenience! Could you refresh the page & retry please?", "Unknown Error");
// reset to the original value
$(this).prop("checked", oldValue);