facebook/react — pull request #771 by spicyj (2014-01-01 00:27:28+00:00)
Title: Don't get selection if no active element

Fixes #694.

Previously, it could be that there was an active element that was removed in between mousedown and mouseup.