jQuery console error being logged
-
Hi guys,
I don’t know if this actually affecting anything or not, but I’m seeing a console error being logged every time I visit my contact form page (https://willstocks.co.uk/contact):
Uncaught ReferenceError: jQuery is not defined
at contact:formatted:1944
(anonymous) @ contact:formatted:1944Relating specifically to:
(function($) { $('.wpcf7').on('wpcf7:spam', function(e) { $('[name="g-recaptcha-response"]', $(this)).each(function() { if ('' === $(this).val()) { var $recaptcha = $(this).closest('.wpcf7-form-control-wrap'); wpcf7.notValidTip($recaptcha, wpcf7iqfix.recaptcha_empty); } }); }); } )(jQuery);
I assume it is throwing this error because jQuery has not fully loaded yet?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘jQuery console error being logged’ is closed to new replies.