Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 5f418c3

Browse files
committed
docs: add comments about necessary double dollar signs
1 parent b09c4cb commit 5f418c3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

windows-rdp/devolutions-patch.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ function setInputValue(inputField, inputText) {
103103
}, 3_000);
104104

105105
const handleSuccessfulDispatch = () => {
106-
resolve();
107106
window.clearTimeout(timeoutId);
108107
inputField.removeEventListener("input", handleSuccessfulDispatch);
108+
resolve();
109109
};
110110

111111
inputField.addEventListener("input", handleSuccessfulDispatch);
@@ -334,6 +334,8 @@ function hideFormForInitialSubmission() {
334334
Can be 0 or 1. Start off invisible to avoid risks of UI flickering,
335335
but the rest of the function should be in charge of making the form
336336
container visible again if something goes wrong during setup.
337+
338+
Double dollar sign needed to avoid Terraform script false positives
337339
*/
338340
$${cssOpacityVariableName}: 0;
339341
}
@@ -346,6 +348,9 @@ function hideFormForInitialSubmission() {
346348
*/
347349
web-client-form,
348350
body > div.p-overlay {
351+
/*
352+
Double dollar sign needed to avoid Terraform script false positives
353+
*/
349354
opacity: calc(100% * var($${cssOpacityVariableName})) !important;
350355
}
351356
`;

0 commit comments

Comments
 (0)