Not a bug Register pop-up not showing up

Recep Baltaş

Well-known member
Affected version
2.3.0 Beta 3
After upgrading to Beta 3, the register button is not working.

Code:
VM188:11 Uncaught ReferenceError: jQuery is not defined
    at eval (eval at d (core-compiled.js?_v=4a04e4c3:47:161), <anonymous>:11:5)
    at d (core-compiled.js?_v=4a04e4c3:47:161)
    at core-compiled.js?_v=4a04e4c3:154:121
    at core-compiled.js?_v=4a04e4c3:47:284
    at core-compiled.js?_v=4a04e4c3:102:461
    at HTMLScriptElement.h (core-compiled.js?_v=4a04e4c3:34:285)

This is a weird bug. Tried on Chrome, no luck. Tried on Edge pops up on second click. You can try on my live playground:

 
Last edited:
You have some code on the register page (presumably from an add-on) which relies on jQuery:

JavaScript:
(function($){
    $(function() {
      var start = new Date().getTime();
      var form = $('#js-signUpButton').closest('form');
	  form.append($("<input>").attr("type", "hidden").attr("name", "timetaken").val(0));
      form.submit(function() {
        $("[name=timetaken]").val((new Date().getTime() - start)/1000);
      });
    });
}) (jQuery);
 
Back
Top Bottom