]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Fix layers initialization
[rails.git] / app / assets / javascripts / index.js
index 1f68c93cb6f8ca39774c616a3993861f9f0fb2d8..c04e933ff3f09782ae1179081f3d612a2106f973 100644 (file)
@@ -37,13 +37,7 @@ $(document).ready(function () {
 
   var layers = [
     new L.OSM.Mapnik({
-      attribution: donate,
-      code: "M",
-      keyid: "mapnik",
-      name: I18n.t("javascripts.map.base.standard")
-    }),
-    new L.OSM.Mapnik({
-      attribution: copyright,
+      attribution: copyright + ' ' + donate,
       code: "M",
       keyid: "mapnik",
       name: I18n.t("javascripts.map.base.standard")