• 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 using querySelector 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)
  • Hello,
    I completely agree about jQuery, and I must apologize as I have long ago removed jQuery dependency from the pro version of the plugin, but have neglected to do so on the free version.
    I will add that to the road map for my next update.

    Update: I am currently working on version 3.3, I have completed the jQuery conversion to JavaScript and am now performing additional plugin updates. Please be on the lookout for version 3.3 which I hope to release soon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Toggle option not working when jQuery not enqueued’ is closed to new replies.