Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable click anywhere to close the popup #48

Open
erwinhuang1612 opened this issue Jan 5, 2015 · 3 comments
Open

Disable click anywhere to close the popup #48

erwinhuang1612 opened this issue Jan 5, 2015 · 3 comments

Comments

@erwinhuang1612
Copy link

Hi,

I understand that currently it is possible to click anywhere on the window to close the popup. Is it possible to disable such functionality?

I just want the popup to be closed by the close-button.

Thank you very much in advance

@thatjeannie
Copy link

comment out this line:

$("#lean_overlay").click(function() {
    close_modal(modal_id);
});

@isaachinman
Copy link

I'm sure I'm missing something here, but how do you enable the close-button for only some trigger ids?

@markiyanm
Copy link

Thanks JSDesign. That worked perfectly.

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

No branches or pull requests

4 participants