• Resolved Viktor Nagornyy

    (@viktorix)


    There are 2 issues in the current version:

    1. You’re using jQuery again, but you’re not checking if it’s enqueued or not. I have a light theme with no jQuery, just plain vanilla JS. So jQuery isn’t available. In this case, the plugin should enqueue jQuery.

    2. Version 1.0.5 included an improvement to load JS conditionally when GF was present. That seems to be gone now. I see it load on all pages, even without GF present. A quick scan through the code, I don’t see anything related to conditional loading.

Viewing 1 replies (of 1 total)
  • Plugin Author GravityKit

    (@gravityview)

    Hi Viktor,
    Thanks for your feedback.

    In Version 1.1 (just released!) we’ve switched to making the script load inline in Gravity Forms’ JavaScript output. It now relies on the jQuery used by Gravity Forms itself.

    Version 1.1 fixes the issue where the script was being added to all pages.

    Please update and let us know what you think!

Viewing 1 replies (of 1 total)
  • The topic ‘Check if jQuery is enqueued and load it conditionally’ is closed to new replies.