Content deleted Content added
Polygnotus (talk | contribs) No edit summary |
Polygnotus (talk | contribs) No edit summary |
||
Line 282:
// Add appropriate buttons based on API key state
if (this.apiKey) {
// Enable the proofread button now that we have an API key
this.buttons.proofread.setDisabled(false);
container.appendChild(this.buttons.proofread.$element[0]);
container.appendChild(this.buttons.changeKey.$element[0]);
container.appendChild(this.buttons.removeKey.$element[0]);
} else {
// Disable the proofread button when no API key
this.buttons.proofread.setDisabled(true);
container.appendChild(this.buttons.setKey.$element[0]);
}
|