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

Core: change focus() to trigger("focus") #2243

Merged
merged 1 commit into from Dec 13, 2018

Conversation

sassquad
Copy link
Contributor

@sassquad sassquad commented Dec 4, 2018

Description

This PR changes the focus() to trigger("focus"), so that it is not flagged up in non-live environments using the jQuery Migrate 3.x plugin.

#2238

Change focus() to trigger("focus") so that jQuery Migrate 3.x doesn't flag it as deprecated.
@Arkni
Copy link
Member

Arkni commented Dec 5, 2018

Thanks for your contribution! I'll take a look at it as soon as possible!

@sassquad
Copy link
Contributor Author

sassquad commented Dec 6, 2018

No problem @Arkni 👍

Copy link
Member

@Arkni Arkni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

Thanks a lot for your contribution. And sorry for taking so long to review this PR, it was only a one-line change, but I didn't had the time to check the change.

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.

None yet

2 participants