Browse Source

[fix] Wrong function name due to last js refactoring.

opi 10 years ago
parent
commit
2e84b32fb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/main.js

+ 1 - 1
assets/main.js

@@ -61,7 +61,7 @@ $( document ).ready(function() {
 
                 marker.setLatLng({lat:$(this).data('lat'), lng:$(this).data('lng')}).update();
                 map.panTo({lat:$(this).data('lat'), lng:$(this).data('lng')});
-                ondragend();
+                mapUpdateCoords();
                 $('#modal').modal('hide');
             });