title: Leaflet won't open popup on marker
body: <p>I am using leaflet to draw a map and then insert a lot of markers on it afterwards. The markers come out nicely, I have a custom icon for them, but I can't get any of the popups to work with .bindPopup(). I get no errors either.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>var map = L.map('map').setView([60.20, 24.92], 11);
  
  L.tileLayer('https://ssl_tiles.cloudmade.com/&lt;APIKEY&gt;/997/256/{z}/{x}/{y}.png', {
      attribution: '',
      maxZoom: 18
  }).addTo(map);
  
  function setLeafletMarker() {
          var markerLocation = new L.LatLng(60.2, 24.8);
          var marker = new L.Marker(markerLocation);
          map.addLayer(marker);
          marker.bindPopup("&lt;b&gt;Hello world!&lt;/b&gt;&lt;br /&gt;I am a popup.")
  }
  
  $(document).ready(function () {
      setLeafletMarker()
  }
  </code></pre>