Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Close modal when user clicks background #42

Open
Taewa opened this issue Sep 21, 2016 · 0 comments
Open

Close modal when user clicks background #42

Taewa opened this issue Sep 21, 2016 · 0 comments

Comments

@Taewa
Copy link

Taewa commented Sep 21, 2016

Hi, thanks for nice plugin.

Is there way to close the modal when user clicks background?

I tried when user clicks #myPopup then trigger .close-myPopup.click()
However, it closes even .modal-content is clicked. I want to avoid this.

Any solutions or options?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant