Make sure the css naming is set by truthy

This commit is contained in:
Jeremy Zhang 2019-01-29 23:35:17 +00:00
parent 57c14eb114
commit 8c8e3cd3ab

View File

@ -94,7 +94,7 @@
function submitForm() { function submitForm() {
var name = $('#css_name').val(); var name = $('#css_name').val();
if (name == "") { if (!name) {
Materialize.toast("Don't forget to name your CSS!", 10000); Materialize.toast("Don't forget to name your CSS!", 10000);
return; return;
} }