Remove explicit context menu width
Firefox and Chromium at least seem to autosize correctly based on the actual text in use for a given locale.
This commit is contained in:
parent
4b43396ede
commit
8db0548119
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ $(document).ready(function () {
|
|||
var map = new L.OSM.Map("map", {
|
||||
zoomControl: false,
|
||||
layerControl: false,
|
||||
contextmenu: true,
|
||||
contextmenuWidth: 140
|
||||
contextmenu: true
|
||||
});
|
||||
|
||||
map.attributionControl.setPrefix('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue