added a value if nothing is set

This commit is contained in:
2025-05-30 00:42:36 +02:00
parent 27cce0dae6
commit c019945e82
+4
View File
@@ -390,6 +390,10 @@ if (isset($_POST["url"])) {
// Join the names with a comma and update the result input
resultInput.value = selectedNames.join(' ');
if (resultInput.value == "" || resultInput.value == " ") {
resultInput.value = props;
}
}
// Add event listeners to all checkboxes