• Resolved deforner

    (@deforner)


    Hello Phil,

    I added a span element inside the age_gate[confirm] button to create a cool hover effect. Sadly this results in an error. If a person clicks on the “Yes” button and hits the text inside the span element then the “you are not old enough” event gets triggered instead of passing the test. You can see it on my website right now.
    Is there any way I can add span elements inside of the buttons but keep the same behavior as intended?

    Kind Regards,
    Dennis M?ller

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

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

    (@philsbury)

    Hi @deforner,

    Sorry for the slow response.

    Yeah, that’s because adding a span has changed the element target that has been clicked. I updated this in the latest release so you can do it now.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘span inside confirm button creates error’ is closed to new replies.