title: Use both "d3.event.preventDefault" and "d3.event.which"
body: <p>This code works perfect — except in <strong>Internet Explorer 11</strong>.
  The <code>deleteNode(d)</code> only calls if the <code>mousedown</code> handle is commented out.</p>
  
  <pre><code>circle.enter().append('circle')
    .on('contextmenu', function (d) {
      deleteNode(d);
    })
    .on('mousedown', function (d) {
      setNode(d);
    });
  </code></pre>
  
  <p>That's why I try to catch right click with <code>mousedown</code>, but the context menu still appears.</p>
  
  <pre><code>circle.enter().append('circle')
    .on('mousedown', function (d) {
      d3.event.preventDefault();
      if (d3.event.which == 3) {
        deleteNode(d);
      }
      setNode(d);
    });
  </code></pre>
  
  <p>How to fix not showing up the context menu or catching both <code>contextmenu</code> and <code>mousedown</code> events?</p>