function toggleButton()

in public/scripts/configure.js [10:16]


function toggleButton() {
  if (apiInput.value.length > 0 && tokenInput.value.length > 0) {
    saveButton.removeAttribute('disabled');
  } else {
    saveButton.setAttribute('disabled', 'disabled');
  }
}