During registration the js part elicits an Uncaught ReferenceError: $ is not defined error, because the jQuery dependency in layout.html is loaded after the script part in registration.html. Since jQuery is available at the time when the registration script is actually used, it makes no difference for the user, but it still produces an error in the browser console. To remedy this, move the script tags in layout.html to the top of the body tag.
During registration the js part elicits an
Uncaught ReferenceError: $ is not defined
error, because the jQuery dependency inlayout.html
is loaded after the script part inregistration.html
. Since jQuery is available at the time when the registration script is actually used, it makes no difference for the user, but it still produces an error in the browser console. To remedy this, move the script tags inlayout.html
to the top of thebody
tag.