minor cleanup
This commit is contained in:
parent
254e6fe6b9
commit
399e304bb2
@ -69,10 +69,8 @@ L.Control = L.Class.extend({
|
||||
},
|
||||
|
||||
_refocusOnMap: function () {
|
||||
var map = this._map;
|
||||
|
||||
if (map) {
|
||||
map.getContainer().focus();
|
||||
if (this._map) {
|
||||
this._map.getContainer().focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user