]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Consistent JavaScript style
[rails.git] / app / assets / javascripts / index.js
index 39d416ba9019999d770b08e021d825d3c90ccd7f..710095e2d501db51713cbba52eac50aefbf628b7 100644 (file)
@@ -75,12 +75,12 @@ $(document).ready(function () {
     uiPane: uiPane
   }).addTo(map);
 
-  L.control.note({
+  L.OSM.note({
     position: 'topright',
     uiPane: uiPane
   }).addTo(map);
 
-  L.control.share({
+  L.OSM.share({
     getUrl: getShortUrl,
     uiPane: uiPane
   }).addTo(map);