Skip to content

Make the plugin work on elements that are added after initialization#2

Open
heliodor wants to merge 2 commits intopascalvgemert:masterfrom
heliodor:future_elem
Open

Make the plugin work on elements that are added after initialization#2
heliodor wants to merge 2 commits intopascalvgemert:masterfrom
heliodor:future_elem

Conversation

@heliodor
Copy link

Uses jQuery delegated events: https://api.jquery.com/on/

The second commit fixes the indentation.

That seems to be the preferred method. Makes the code format better on
github.com.
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

Successfully merging this pull request may close these issues.

1 participant