Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Closing POPUP does not work properly

If there is a Youtube video in a POPUP and you try to close the popup either by clicking off the popup or with a button, you need to click twice. Nothing happens on first click.
Only if there is a video on the popup.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Closing POPUP does not work properly

Hello Deon,

Do you use JQM project here?
It seems the first click is used on the youtube video. As a workaround, you can use the programable double click here.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Closing POPUP does not work properly

Hi
Yes, it is JQM.
What is the programmable double click?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Closing POPUP does not work properly

Just trigger the click event with a vanilla JS https://developer.mozilla.org/en-US/d...

Return to “Issues”