From 8ac613c9a31653806a4fcefcac9b4a06295f97dd Mon Sep 17 00:00:00 2001 From: Kyle McDonald Date: Fri, 6 Jun 2014 10:13:02 -0400 Subject: [PATCH] story count --- views/index.ejs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/index.ejs b/views/index.ejs index cd76572..0da85af 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -20,6 +20,8 @@ } $.getJSON('data.json', function(data) { $(document).ready(function(){ + $('#count').text('all ' + data.length + ' stories'); + // setup autocomplete ["client", "where", "medium"].forEach(function(x) { $('#'+x).autocomplete({ @@ -151,7 +153,7 @@

Learn from the experience of others.

-

Refresh for a new selection, or click "Show all" for more.

+

Refresh for a new selection, or click "Show all" for more.