diff --git a/src/templates/index.html b/src/templates/index.html index 8d75c433c..e676e8f11 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -173,7 +173,7 @@ { var padname = document.getElementById("padname").value.replace(/[^a-z0-9_\-]/gi, '_'); - padname.length > 0 ? window.location = "p/" + padname : alert("Please enter a name") + padname.length > 0 ? window.location = "p/" + padname : alert("Please enter a name"); } function go2Random()