Support » Plugin: Age Gate » JS Event not firing anymore?

  • Hello,

    Usually got events on JS with this code:

    jQuery(document).on('agegateshown',function(){
    	console.log('age gate shown');
    })

    However, it’s stopped working. Where are the custom events are being fired?

    Thank you!

    • This topic was modified 1 month, 3 weeks ago by amihaidany.
Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @amihaidany,

    Can you try hanging it off window instead?

    
    jQuery(window).on('agegateshown',function(){
    	console.log('age gate shown');
    })
    

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.