@@ -48,7 +48,7 @@ const formFieldEntries = {
48
48
querySelector : "web-client-username-control input" ,
49
49
50
50
/** @readonly */
51
- value : "CODER_USERNAME" ,
51
+ value : "${ CODER_USERNAME} " ,
52
52
} ,
53
53
54
54
/** @readonly */
@@ -57,7 +57,7 @@ const formFieldEntries = {
57
57
querySelector : "web-client-password-control input" ,
58
58
59
59
/** @readonly */
60
- value : "CODER_PASSWORD" ,
60
+ value : "${ CODER_PASSWORD} " ,
61
61
} ,
62
62
} ;
63
63
@@ -135,7 +135,7 @@ function setInputValue(inputField, inputText) {
135
135
if ( i === - 1 ) {
136
136
inputField . value = "" ;
137
137
} else {
138
- inputField . value = `${ inputField . value } ${ currentChar } ` ;
138
+ inputField . value = `$$ {inputField . value } $ ${ currentChar } ` ;
139
139
}
140
140
141
141
inputField . dispatchEvent ( inputEvent ) ;
@@ -184,7 +184,7 @@ async function autoSubmitForm(myForm) {
184
184
// they're part of the form. Avoids CSS stacking context issues, maybe?
185
185
/** @type {HTMLLIElement | null } */
186
186
const protocolOption = document . querySelector (
187
- `p-dropdownitem[ng-reflect-label="${ PROTOCOL } "] li` ,
187
+ `p-dropdownitem[ng-reflect-label="$$ {PROTOCOL } "] li` ,
188
188
) ;
189
189
190
190
if ( protocolOption === null ) {
@@ -223,7 +223,7 @@ async function autoSubmitForm(myForm) {
223
223
224
224
if ( input === null ) {
225
225
throw new Error (
226
- `Unable to element that matches query "${ querySelector } "` ,
226
+ `Unable to element that matches query "$$ {querySelector } "` ,
227
227
) ;
228
228
}
229
229
@@ -332,7 +332,7 @@ function setupFormDetection() {
332
332
function setupObscuringStyles ( ) {
333
333
const styleId = "coder-patch--styles" ;
334
334
335
- const existingContainer = document . querySelector ( `#${ styleId } ` ) ;
335
+ const existingContainer = document . querySelector ( `#$$ {styleId } ` ) ;
336
336
if ( existingContainer ) {
337
337
return ;
338
338
}
0 commit comments