From: Aaron Lidman Date: Mon, 18 Nov 2013 19:43:48 +0000 (-0800) Subject: Fix new note wrapping X-Git-Tag: live~4674^2~50 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/104ba9c57ab55051988902dacc5e12a6b33554b2 Fix new note wrapping --- diff --git a/app/assets/javascripts/index/new_note.js.erb b/app/assets/javascripts/index/new_note.js.erb index 580d7a79b..29977cd57 100644 --- a/app/assets/javascripts/index/new_note.js.erb +++ b/app/assets/javascripts/index/new_note.js.erb @@ -34,7 +34,7 @@ OSM.NewNote = function(map) { }); function createNote(marker, form, url) { - var location = marker.getLatLng(); + var location = marker.getLatLng().wrap(); marker.options.draggable = false; marker.dragging.disable();