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

Specify modal selector in data attribute with backward compatibility. #767

Closed
wants to merge 1 commit into from

Conversation

XhmikosR
Copy link
Member

Fixes #682.

Instead of hijacking the href attribute of an anchor tag to indicate a selector of a modal that we'd like to display on it being clicked. We can rather make use of a data-modal attribute to indicate the selector of the desired modal.

This is the same as #730, rebased and squashed.

@rainchen
Copy link

+1

@XhmikosR XhmikosR closed this Jul 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Assign class selector for modals
3 participants