projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4b43396
)
Remove explicit context menu width
author
Tom Hughes
<tom@compton.nu>
Sat, 25 Feb 2017 10:57:00 +0000
(10:57 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sat, 25 Feb 2017 10:57:00 +0000
(10:57 +0000)
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
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/index.js
b/app/assets/javascripts/index.js
index 1ba2fbbdef5cc719b5799813aa03bce0cfd50870..b30564a1ae64b12ee3c7a98aff01b1c131da8c26 100644
(file)
--- 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('');