-
Notifications
You must be signed in to change notification settings - Fork 659
Open
Description
My team sometimes imports libraries on their standalone pages that are already in a master page (they forget to look). With jquery.modal this causes an issue when trying to hit the auto-generated closes button (clicking outside the modal or hitting escape still work). You can test for the existence of your library before you initialize it by adding the code from this SO answer...
https://stackoverflow.com/a/400943/817625
Wrapping your code with this would prevent any errors in the future.
Metadata
Metadata
Assignees
Labels
No labels