mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 22:47:04 +01:00
Make sure the css naming is set by truthy
This commit is contained in:
parent
57c14eb114
commit
8c8e3cd3ab
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user