Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Events: Fix issue where we ignored null relatedTargets #410

Merged
merged 1 commit into from
Mar 31, 2014

Conversation

arv
Copy link
Contributor

@arv arv commented Mar 28, 2014

We set the relatedTarget to null in a few cases to work around bugs
in IE, but we ignored null due to the falsey check in the getter.

We set the relatedTarget to null in a few cases to work around bugs
in IE, but we ignored null due to the falsey check in the getter.
@arv arv added cla: yes and removed cla: no labels Mar 29, 2014
@arv
Copy link
Contributor Author

arv commented Mar 31, 2014

Ping

arv added a commit to arv/ShadowDOM that referenced this pull request Mar 31, 2014
jQueryUI uses `element.compareDocumentPosition(document.body)` so
we need to allow a non wrapper as the argument here.

Fixes googlearchive#410
@dfreedm
Copy link
Contributor

dfreedm commented Mar 31, 2014

LGTM

dfreedm added a commit that referenced this pull request Mar 31, 2014
Events: Fix issue where we ignored null relatedTargets
@dfreedm dfreedm merged commit 6ba50f6 into googlearchive:master Mar 31, 2014
@arv arv deleted the related-target-fix-null branch March 31, 2014 18:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants