added a value if nothing is set
This commit is contained in:
@@ -390,6 +390,10 @@ if (isset($_POST["url"])) {
|
|||||||
|
|
||||||
// Join the names with a comma and update the result input
|
// Join the names with a comma and update the result input
|
||||||
resultInput.value = selectedNames.join(' ');
|
resultInput.value = selectedNames.join(' ');
|
||||||
|
|
||||||
|
if (resultInput.value == "" || resultInput.value == " ") {
|
||||||
|
resultInput.value = props;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add event listeners to all checkboxes
|
// Add event listeners to all checkboxes
|
||||||
|
|||||||
Reference in New Issue
Block a user