From 1326eea040ef2637ac58c92512f9b6f7dd7696bb Mon Sep 17 00:00:00 2001 From: Debabrata Trivedi Date: Tue, 16 Jun 2020 00:25:24 +0530 Subject: [PATCH] Fixes #4040 Isolate hard-coded js from member.php (#4041) Co-authored-by: Jordan Mussi --- install/resources/mybb_theme.xml | 3 +- jscripts/regvalidator.js | 171 ++++++++++++++++++++++++ member.php | 219 +++++-------------------------- 3 files changed, 209 insertions(+), 184 deletions(-) create mode 100644 jscripts/regvalidator.js diff --git a/install/resources/mybb_theme.xml b/install/resources/mybb_theme.xml index 36484a93d4..fb95289fb1 100644 --- a/install/resources/mybb_theme.xml +++ b/install/resources/mybb_theme.xml @@ -5107,7 +5107,7 @@ if(use_xmlhttprequest == "1") ]]> -