Fix layers initialization
authorJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 6 Nov 2013 21:19:13 +0000 (13:19 -0800)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Wed, 6 Nov 2013 21:19:13 +0000 (13:19 -0800)
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")