diff --git a/create/index.html b/create/index.html index 918c548..5bd9d9a 100644 --- a/create/index.html +++ b/create/index.html @@ -217,7 +217,7 @@
Useful links
}); download.addEventListener('click', function () { - if (title.value.trim() !== "") { + if (title.value.trim() !== "" && !title.value.includes(" ")) { title.classList.remove('empty'); const jsonData = generateJSONData();