Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix when anchorNode is undefined instead of null
Summary: Fixes #1399 `nativeSelection.anchorNode` can be undefined instead of null, so I'm changing the condition to handle this use case. Closes facebookarchive/draft-js#1407 Differential Revision: D5974852 fbshipit-source-id: bb24ba0e3bf041530bdbea555f26e61d2b33022f
- Loading branch information