From 8db05481193bfb105c76cda40ea0617b5f10545e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 25 Feb 2017 10:57:00 +0000 Subject: [PATCH] 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. --- app/assets/javascripts/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 1ba2fbbde..b30564a1a 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -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(''); -- 2.39.5