Skip to content

Event: Suggest event.originalEvent usage #928

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

Closed
wants to merge 1 commit into from

Conversation

silverwind
Copy link
Contributor

Fixes: #405

cc: @mgol @dmethvin

jQuery.event.props has been removed, so it necessary to access
event.originalEvent for non-common properties.

Fixes: jquery#405
@silverwind silverwind changed the title Event: Use event.originalEvent instead of modifying jQuery.event.props Event: Suggest event.originalEvent usage May 10, 2016
@silverwind
Copy link
Contributor Author

Tweaked slightly.

@mgol
Copy link
Member

mgol commented May 10, 2016

I like it!

@dmethvin
Copy link
Member

Yes! That also works for any version which is good, rather than being 3.0-specific.

@mgol
Copy link
Member

mgol commented May 10, 2016

After 3.0 we'll need to add more props to the list but that may be done separately.

@mgol mgol closed this in e378db8 May 11, 2016
@mgol
Copy link
Member

mgol commented May 11, 2016

Landed, thanks @silverwind!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants