title: Stop propagation of 'click' event in Leaflet
body: <p>In one of our projects we're using <code>Leaflet</code> along with <code>Leaflet.markercluster</code> plugin. Looking through the <code>Leaflet</code>'s sources I found that it appends <code>_collapse()</code> function to the map's <code>click</code> event, so whenever I click on the map it contracts previously expanded cluster.<br>
  Now, I want to disable this behavior. If the cluster is expanded, then I just want to deselect all of its markers on <code>click</code> event (and don't contract the cluster itself). Here is the piece of my code:  </p>
  
  <pre><code>map.on('click', function(e) {
      scope.deselectAllMarkers();
  });
  </code></pre>
  
  <p>I tried to add the following lines in the end of this one-line callback in order to stop propagation of <code>click</code> event:  </p>
  
  <p><code>scope.L.DomEvent.stopPropagation(e);</code><br>
  <code>scope.L.DomEvent.preventDefault(e);</code><br>
  <code>scope.L.DomEvent.stop(e);</code><br>
  <code>scope.L.DomEvent.stopPropagation(e.originalEvent);</code><br>
  <code>scope.L.DomEvent.preventDefault(e.originalEvent);</code><br>
  <code>scope.L.DomEvent.stop(e.originalEvent);</code>  </p>
  
  <p>And none of them works. Default listener which is hidden inside of the <code>Leaflet</code> sources keeps its invocation whenever I click on the map. Am I missing something?</p>