web/resources/js/tadah/account/disabledAccount.js

10 lines
262 B
JavaScript

if (tadah.route == "account.disabled") {
$("#agreed").on("change", function () {
if ($(this).is(":checked")) {
$("#reactivate").removeClass("disabled")
} else {
$("#reactivate").addClass("disabled")
}
})
}