Remove gap in control bar by hiding empty dummy track loader button
This commit is contained in:
parent
a71dfe7895
commit
41b349dc9f
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ BR.tracksLoader = function(map, layersControl, routing) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
});
|
});
|
||||||
// dummy, no own representation, triggered in loading menu
|
// dummy, no own representation, triggered in loading menu
|
||||||
return L.DomUtil.create('div');
|
var dummy = L.DomUtil.create('div');
|
||||||
|
dummy.hidden = true;
|
||||||
|
return dummy;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
var tracksLoaderControl = new TracksLoader();
|
var tracksLoaderControl = new TracksLoader();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue