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:
Tom Hughes 2017-02-25 10:57:00 +00:00
parent 4b43396ede
commit 8db0548119

View file

@ -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('');