File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class ChatGPTUI {
7777
7878 // Create API key submit button and error message elements
7979 this . createApiKeyElements ( ) ;
80-
80+
8181 this . fileInput = document . getElementById ( 'fileInput' ) ;
8282 this . fileUploadBtn = document . getElementById ( 'fileUploadBtn' ) ;
8383 this . imageUploadBtn = document . getElementById ( 'imageUploadBtn' ) ;
@@ -132,7 +132,8 @@ class ChatGPTUI {
132132 mainConfigArea . insertBefore ( apiKeyWrapper , firstChild . nextSibling ) ;
133133 mainConfigArea . insertBefore ( this . apiKeyStatus , apiKeyWrapper . nextSibling ) ;
134134 mainConfigArea . insertBefore ( this . apiKeyErrorMessage , this . apiKeyStatus . nextSibling ) ;
135- }
135+ }
136+
136137
137138 bindEvents ( ) {
138139 this . sendButton . addEventListener ( 'click' , ( ) => this . sendMessage ( ) ) ;
@@ -147,7 +148,6 @@ class ChatGPTUI {
147148 this . testApiKey ( ) ;
148149 }
149150 } ) ;
150-
151151 this . modelSelect . addEventListener ( 'change' , ( e ) => this . updateModel ( e . target . value ) ) ;
152152 this . refreshModelsBtn . addEventListener ( 'click' , ( ) => this . loadModels ( ) ) ;
153153
@@ -1914,3 +1914,4 @@ document.addEventListener('DOMContentLoaded', () => {
19141914
19151915
19161916
1917+
You can’t perform that action at this time.
0 commit comments