feat: complete heaven readings and screener publication
This commit is contained in:
@@ -96,7 +96,15 @@ function applyMembershipAccess() {
|
||||
if (gate) gate.hidden = unlocked;
|
||||
view.querySelectorAll("button, input, textarea, select").forEach((control) => {
|
||||
if (control.closest(".member-gate") || control.hasAttribute("data-member-navigation")) return;
|
||||
control.disabled = !unlocked;
|
||||
if (!unlocked) {
|
||||
if (!("memberDisabled" in control.dataset)) {
|
||||
control.dataset.memberDisabled = String(control.disabled);
|
||||
}
|
||||
control.disabled = true;
|
||||
} else if ("memberDisabled" in control.dataset) {
|
||||
control.disabled = control.dataset.memberDisabled === "true";
|
||||
delete control.dataset.memberDisabled;
|
||||
}
|
||||
});
|
||||
});
|
||||
const assistantButton = document.querySelector("#assistantButton");
|
||||
|
||||
Reference in New Issue
Block a user