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 defined
I 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 usingquerySelector
instead of jQuery, as most FSE themes do not enqueue jQuery and we don’t want such a huge bloated dependency on our sites. ????
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Toggle option not working when jQuery not enqueued’ is closed to new replies.