remove unneded variable

This commit is contained in:
Laura Klünder 2017-11-18 17:28:32 +01:00
parent 8b301d1048
commit 69ee9e8fe9

View file

@ -323,7 +323,7 @@ editor = {
editor.map.on('editable:vertex:dragstart', function (e) {
editor._orig_vertex_pos = [e.vertex.latlng.lat, e.vertex.latlng.lng];
});
editor.map.on('editable:vertex:dragend', function (e) {
editor.map.on('editable:vertex:dragend', function () {
editor._orig_vertex_pos = null;
});
editor.map.on('editable:vertex:drag', function (e) {