@ -152,7 +152,7 @@ async function autoSubmitForm(myForm) {
// they're part of the form. Avoids CSS stacking context issues, maybe?
/** @type {HTMLLIElement | null} */
const protocolOption = document . querySelector (
` p-dropdownitem[ng-reflect-label=" ${ PROTOCOL } "] li ` ,
'p-dropdownitem[ng-reflect-label="' + PROTOCOL + '"] li' ,
) ;
if ( protocolOption === null ) {
@ -191,7 +191,7 @@ async function autoSubmitForm(myForm) {
if ( input === null ) {
throw new Error (
` Unable to element that matches query " ${ querySelector } " ` ,
'Unable to element that matches query "' + querySelector + '"' ,
) ;
}
@ -293,7 +293,7 @@ function setupFormDetection() {
* /
function setupAlwaysOnStyles ( ) {
const styleId = "coder-patch--styles-always-on" ;
const existingContainer = document . querySelector ( ` # ${ styleId } ` ) ;
const existingContainer = document . querySelector ( "#" + styleId ) ;
if ( existingContainer ) {
return ;
}
@ -315,7 +315,7 @@ function hideFormForInitialSubmission() {
const cssOpacityVariableName = "--coder-opacity-multiplier" ;
/** @type {HTMLStyleElement | null} */
let styleContainer = document . querySelector ( ` # ${ styleId } ` ) ;
let styleContainer = document . querySelector ( "#" + styleId ) ;
if ( ! styleContainer ) {
styleContainer = document . createElement ( "style" ) ;
styleContainer . id = styleId ;