diff --git a/webapp/titanembeds/static/js/usercss.js b/webapp/titanembeds/static/js/usercss.js index 85baa37..d17c531 100644 --- a/webapp/titanembeds/static/js/usercss.js +++ b/webapp/titanembeds/static/js/usercss.js @@ -94,7 +94,7 @@ function submitForm() { var name = $('#css_name').val(); - if (name == "") { + if (!name) { Materialize.toast("Don't forget to name your CSS!", 10000); return; }