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

jQuery .focus() is deprecated #1153

Closed
mar10 opened this issue May 21, 2024 Discussed in #1152 · 1 comment · Fixed by #1160
Closed

jQuery .focus() is deprecated #1153

mar10 opened this issue May 21, 2024 Discussed in #1152 · 1 comment · Fixed by #1160

Comments

@mar10
Copy link
Owner

mar10 commented May 21, 2024

Discussed in #1152

See also https://api.jquery.com/focus-shorthand/

This API is deprecated.
Instead of .focus( handler ) or .focus( eventData, handler ), use .on( "focus", handler ) or .on( "focus", eventData, handler ), respectively.

Instead of .focus(), use .trigger( "focus" ).

Copy link

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.

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 a pull request may close this issue.

1 participant