title: How can I prevent a popup to show when clicking on a marker in Leaflet?
body: <p>I want a popup that doesn't show itself when I click on the Leaflet marker. I cannot use <code>clickable : false</code> because it will make the markers &quot;act as a part of the underlying map&quot; and this is unacceptable for me. I tried the following code:</p>
  <pre><code>marker.on('click', function(event) {
    event.originalEvent.preventDefault();
  });
  </code></pre>
  <p>without any results. What is the right way to prevent a popup from showing without using the <code>clickable : false</code> property of the marker object?</p>
  <p>All I need is to open all the popups on the map by clicking on one custom button, but I don't want the popups to show themselves after I click on a particular marker.</p>