]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Enable the note later when going from the browser to the map view
[rails.git] / app / views / site / index.html.erb
index 340570f6d2f1751c87cbc17e48c5eb7279345372..b4719f6710966e5707eef1c1db86ba27d29cdcc7 100644 (file)
@@ -154,7 +154,7 @@ end
           setCookie: false,
           permalinkURL: "http://www.openstreetmap.org/",
           theme: "<%= stylesheet_path "openstreetbugs" %>",
-          visibility: false
+          visibility: <%= params[:notes] == "yes" %>
       });
       map.addLayer(map.osbLayer);