Skip to content
  • Mike Bostock's avatar
    Prefer selectstart to user-select. · 91506b31
    Mike Bostock authored
    Rather than both setting the user-select to none and suppressing the selectstart
    event, we now prefer to suppress the selectstart event if supported. This avoids
    redundantly setting the user-select style, which can be slow. Fixes #1599.
    91506b31