Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
RasperRevision committed Jul 1, 2024
1 parent 75852bc commit 5fb483a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h5>Useful links</h5>
});

download.addEventListener('click', function () {
if (title.value.trim() !== "") {
if (title.value.trim() !== "" && !title.value.includes(" ")) {
title.classList.remove('empty');

const jsonData = generateJSONData();
Expand Down

0 comments on commit 5fb483a

Please sign in to comment.