no map._popup check needed
This commit is contained in:
parent
ead96e500e
commit
1eae1719bb
@ -143,7 +143,7 @@ L.Map.Keyboard = L.Handler.extend({
|
||||
} else if (key in this._zoomKeys) {
|
||||
map.setZoom(map.getZoom() + this._zoomKeys[key]);
|
||||
|
||||
} else if (key === 27 && map._popup) {
|
||||
} else if (key === 27) {
|
||||
map.closePopup();
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user