Support » Plugin: EU Cookie Law (GDPR) » Javascript problem (and fix) with accept button

  • Resolved pelzi

    (@pelzi)


    I’m facing a strange problem: with the published version of js/scripts.js, the accept button does not work with any browser I heard of. Instead, it triggers a JavaScript exception that “on” is not a function.
    It’s easy to fix:

    < $(‘#pea_cook_btn, .eucookie’).on(‘click’, function () {
    > $(‘#pea_cook_btn, .eucookie’).click(function () {

    But I have no clue why it would work for any other installation?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Javascript problem (and fix) with accept button’ is closed to new replies.