Browse files

hide captions

  • Loading branch information...
1 parent 10e2848 commit 8e706af96cee4e8f8de1fd0bcb4267d995f0f459 @tlevine committed Aug 18, 2013
Showing with 3 additions and 2 deletions.
  1. +1 −0 client/js/views/dashboard/page.js
  2. +2 −2 client/templates/dashboard/page.html
View
1 client/js/views/dashboard/page.js
@@ -24,6 +24,7 @@ function createMap(){
d3.json("/impacts.json", function(collection){
d3.select('#map > .loading').style('display', 'none')
d3.select('#barplot').style('display', 'block')
+ d3.select('.caption').style('display', 'block')
collection.features.sort(function(a, b) { return b.properties.impacted_acres_prop_max - a.properties.impacted_acres_prop_max })
data = collection;
View
4 client/templates/dashboard/page.html
@@ -1,13 +1,13 @@
<div class="span12">
<h2>Acreages of permit applications</h2>
<div id="map" style="height: 400px;"><div class="loading">Loading map...</div></div>
- <p>Impacted acres by parish; grey means no impacted acres, and red means many impacted acres.</p>
+ <p style="display:none;" class="caption">Impacted acres by parish; grey means no impacted acres, and red means many impacted acres.</p>
<div id="barplot" style="height: 250px; display: none;">
<div class="tick" style="top: 200px;"><div class="line"></div><span style="color: rgba(255,255,255,0);">0</span>500 acres</div>
<div class="tick" style="top: 150px;"><div class="line"></div>1000 acres</div>
<div class="tick" style="top: 50px;"><div class="line"></div>2000 acres</div>
</div>
- <p>Acreages of individual impact permits (Click on a bar for more information.)</p>
+ <p style="display: none;" class="caption">Acreages of individual impact permits (Click on a bar for more information.)</p>
<h2>About the site</h2>
<p>

0 comments on commit 8e706af

Please sign in to comment.