We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b2d029 commit f6ce6a3Copy full SHA for f6ce6a3
frontend/src/ts/modals/last-signed-out-result.ts
@@ -85,10 +85,13 @@ function fillGroup(
85
text: string | number,
86
html = false,
87
): void {
88
+ const el = modal.getModal().querySelector(`.group.${groupClass} .val`);
89
+ if (!el) return;
90
+
91
if (html) {
- $(modal.getModal()).find(`.group.${groupClass} .val`).html(`${text}`);
92
+ el.innerHTML = `${text}`;
93
} else {
- $(modal.getModal()).find(`.group.${groupClass} .val`).text(text);
94
+ el.textContent = `${text}`;
95
}
96
97
0 commit comments