commit
c247dfdb2c
@ -124,6 +124,7 @@ L.Popup = L.Class.extend({
|
|||||||
L.DomUtil.create('a', prefix + '-close-button', container);
|
L.DomUtil.create('a', prefix + '-close-button', container);
|
||||||
closeButton.href = '#close';
|
closeButton.href = '#close';
|
||||||
closeButton.innerHTML = '×';
|
closeButton.innerHTML = '×';
|
||||||
|
L.DomEvent.disableClickPropagation(closeButton);
|
||||||
|
|
||||||
L.DomEvent.on(closeButton, 'click', this._onCloseButtonClick, this);
|
L.DomEvent.on(closeButton, 'click', this._onCloseButtonClick, this);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user