From 1b671e288faf28ac0c7e5c71f58dcf4f706f7618 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 9 Nov 2014 11:32:16 +0900 Subject: [PATCH] Cleanup --- client/html/index.html | 2 +- client/scripts/application.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/client/html/index.html b/client/html/index.html index 81888f3..b4b3bc2 100644 --- a/client/html/index.html +++ b/client/html/index.html @@ -37,7 +37,7 @@
- +
diff --git a/client/scripts/application.js b/client/scripts/application.js index 047dfa6..135cc80 100644 --- a/client/scripts/application.js +++ b/client/scripts/application.js @@ -131,9 +131,8 @@ } $.getJSON('/search', _ctx.query, function(results) { - _ctx.grapher.setColumns(results.columns); saveSnapshot(results); - outputMatches(results.items, results.count); + outputSnapshot(results); }); } @@ -168,7 +167,6 @@ var searchResultCnt = String(results.length); if (results.length < count) { searchResultCnt += ' of ' + count; - } $('#resultCount').text(searchResultCnt);