insert store count into the info box

This commit is contained in:
David 2017-03-28 22:21:06 -04:00
parent 7e8310d099
commit 1b114cdd0e

View File

@ -36,7 +36,8 @@
<div id='map'></div>
<div id='info'>
<p>Although the bookselling community of New York City is much depleted from its heyday, there still are independent bookstores out there. Unfortunately, there has also been a lack of resources available to discover and visit the stores that do exist. This site, while not on the level of the old guides, can help with that.</p>
<p>While the data here are kept up-to-date to the best of my ability, I make no promises about the accuracy of locations or other details presented. If you spot an error, or I've missed a shop, please let me know by <a href="mailto:delta.mu.alpha@gmail.com">email</a> or <a href="https://www.twitter.com/alazyreader">twitter</a>. Based on the "<a href="https://github.com/jlord/hack-spots">Hack Spots</a>" website by <a href="http://www.twitter.com/jllord" target="_blank">@jllord</a>.
<p>While the data here are kept up-to-date to the best of my ability, I make no promises about the accuracy of locations or other details presented. If you spot an error, or I've missed a shop, please let me know by <a href="mailto:delta.mu.alpha@gmail.com">email</a> or <a href="https://www.twitter.com/alazyreader">twitter</a>. Based on the "<a href="https://github.com/jlord/hack-spots">Hack Spots</a>" website by <a href="http://www.twitter.com/jllord" target="_blank">@jllord</a>.</p>
<p>There are currently <span id="storeCount"></span> stores indexed on this page.</p>
</div>
<div id='selected'></div>
</div>
@ -110,6 +111,7 @@
}
)
$.each(data, function(key, value) { value.rowNumber = key; });
$('#storeCount').html(data.length);
loadMap(data);
});
});