MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / updateSemiAutoActionsVisibility

Function updateSemiAutoActionsVisibility

static/js/payment.js:1224–1234  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

1222}
1223
1224function updateSemiAutoActionsVisibility(mode) {
1225 const isSemiAuto = (mode || getBindMode()) === "semi_auto";
1226 const loginBtn = document.getElementById("semi-login-gpt-btn");
1227 const emailBtn = document.getElementById("semi-account-email-btn");
1228 if (loginBtn) {
1229 loginBtn.style.display = isSemiAuto ? "" : "none";
1230 }
1231 if (emailBtn) {
1232 emailBtn.style.display = isSemiAuto ? "" : "none";
1233 }
1234}
1235
1236function getSelectedAccountEmail() {
1237 const accountId = Number(document.getElementById("account-select")?.value || 0);

Callers 2

onBindModeChangeFunction · 0.85
loadAccountsFunction · 0.85

Calls 1

getBindModeFunction · 0.85

Tested by

no test coverage detected