change to input event listener
This commit is contained in:
@@ -97,7 +97,7 @@ function getLastChatGPTVersion() {
|
||||
|
||||
checkFiledApiKey();
|
||||
|
||||
apiKeySelector.addEventListener("change", function (event) {
|
||||
apiKeySelector.addEventListener("input", function () {
|
||||
apiKey = apiKeySelector.value.trim();
|
||||
checkFiledApiKey();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user