From 9f0444a9621e700390ffde9a937325db8e5b8a97 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sat, 19 Aug 2017 16:13:15 -0700 Subject: [PATCH] Fix jquery 404 on /register --- templates/register.pug | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/register.pug b/templates/register.pug index 3e8529f1..e369a02b 100644 --- a/templates/register.pug +++ b/templates/register.pug @@ -56,8 +56,7 @@ html(lang="en") strong Registration Successful p Thanks for registering, #{registerName}! Now you can Login to use your account. include footer - +footer() - script(src="/js/jquery.js") + +footer() script(type="text/javascript"). function verify() { var valid = checkUsername(); @@ -78,7 +77,7 @@ html(lang="en") stateError('Username must not be empty') return false; } else if (!(/^[-\w\u00c0-\u00ff]{1,20}$/).test(name)) { - stateError("Username must consist of 1-20 characters" + + stateError("Username must consist of 1-20 characters" + " a-Z, A-Z, 0-9, -, or _."); return false; } else {