do not propagate click and double click out of expanding control
This commit is contained in:
parent
e8a2d27bc2
commit
1cbada095e
1 changed files with 1 additions and 1 deletions
|
@ -2670,7 +2670,7 @@ ExpandingControl = L.Control.extend({
|
||||||
$(this._container).on('click', 'div.pin-toggle', e => {
|
$(this._container).on('click', 'div.pin-toggle', e => {
|
||||||
this.togglePinned();
|
this.togglePinned();
|
||||||
});
|
});
|
||||||
$(this._container).on('mousedown pointerdown wheel', e => {
|
$(this._container).on('click dblclick mousedown pointerdown wheel', e => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue