Merge pull request #1537 from dotCypress/master

Popup close button fix
This commit is contained in:
Vladimir Agafonkin 2013-03-28 13:35:11 -07:00
commit c247dfdb2c

View File

@ -124,6 +124,7 @@ L.Popup = L.Class.extend({
L.DomUtil.create('a', prefix + '-close-button', container);
closeButton.href = '#close';
closeButton.innerHTML = '×';
L.DomEvent.disableClickPropagation(closeButton);
L.DomEvent.on(closeButton, 'click', this._onCloseButtonClick, this);
}