Toggle option not working when jQuery not enqueued
-
I’m using the Blockify theme which is a FSE theme which does not enqueue jQuery.
When using
[cf7ic]it works fine, but after adding the toggle option with[cf7ic "toggle"]the following error is shown:ReferenceError: jQuery is not definedI see that the detection script uses jQuery directly, probably without enqueueing it:
jQuery(this).find(".captcha-image").show();PS.
If possible please fix this by usingquerySelectorinstead of jQuery, as most FSE themes do not enqueue jQuery and we don’t want such a huge bloated dependency on our sites. 🙏🙇
The topic ‘Toggle option not working when jQuery not enqueued’ is closed to new replies.