Skip to content

Commit c2c8f4b

Browse files
Removing char from default labels
1 parent 2ff36ff commit c2c8f4b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/form.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ fetch('config.json')
304304
const label = document.createElement('label');
305305
if (Array.isArray(question.label)) {
306306
// Concatenate the label array with " " as separator
307-
label.innerHTML = question.label.join(' ') + ':';
307+
label.innerHTML = question.label.join(' ');
308308
} else {
309-
label.innerHTML = question.label + ':';
309+
label.innerHTML = question.label;
310310
}
311311
label.style.color = '#ddd'; // Light text color
312312
form.appendChild(label);

0 commit comments

Comments
 (0)