Support » Plugin: Cart links for WooCommerce » jQuery is not defined

  • Resolved George

    (@subscriptiongroup)


    Hi,

    It appears we get a ReferenceError originating from your plugin at

    jQuery(".soft79_fill_cart_url input[type='text']").on("click", function () { jQu...

    It’s probably due to our JS scripts getting placed at the bottom of the page, but i was wondering if you could update your plugin so it prevents this?

    I haven’t tested, but possibly wrapping your JS in the following, could help?

    document.addEventListener("DOMContentLoaded", function(event) { }

    • This topic was modified 4 years ago by George.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Soft79

    (@josk79)

    Hi George,

    I released an update with a fix (1.0.0). Please try it out.

    George

    (@subscriptiongroup)

    Hi,

    It appears to work. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery is not defined’ is closed to new replies.