MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / saveCustom

Method saveCustom

chat/components/ShareModals.js:609–613  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

607 if (customError) {
608 customError.textContent = message || '';
609 customError.classList.toggle('hidden', !message);
610 }
611 customValue?.setAttribute('aria-invalid', message ? 'true' : 'false');
612 };
613 const resolveCustom = () => resolveCustomShareExpiry(customValue?.value, customUnit?.value);
614
615 // Save custom values when changed and handle Enter key
616 if (customValue && customUnit) {

Callers

nothing calls this directly

Calls 1

setCustomExpiryFunction · 0.85

Tested by

no test coverage detected