fix: typo

This commit is contained in:
BennyKok
2023-12-17 01:41:58 +08:00
parent f7f9da7f68
commit c511789056
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -304,8 +304,8 @@ export class ConfigDialog extends ComfyDialog {
}
save() {
const endpoint = this.textElement.querySelector("#endpoint").value;
const apiKey = this.textElement.querySelector("#apiKey").value;
const endpoint = this.container.querySelector("#endpoint").value;
const apiKey = this.container.querySelector("#apiKey").value;
localStorage.setItem("endpoint", endpoint);
localStorage.setItem("apiKey", apiKey);
this.close();