From 4ebb2ecd711a3404dccf86923536fce3f4356dcb Mon Sep 17 00:00:00 2001
From: jsclose <jsclose@umich.edu>
Date: Mon, 9 Apr 2018 00:13:14 -0400
Subject: [PATCH] header, title

---
 site/get_search.js | 5 +++--
 site/index.html    | 6 ++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/site/get_search.js b/site/get_search.js
index fdf5957..faf332b 100644
--- a/site/get_search.js
+++ b/site/get_search.js
@@ -9,7 +9,7 @@ $(function () {
 
 
 
-function get_request(artist_name){
+function get_request(){
     $query = $("#query").val();
     console.log("Making a query");
 
@@ -31,7 +31,8 @@ function get_request(artist_name){
             console.log("error");
             console.log(data.responseText);
             var dataReturned = data.responseText;
-            var result = $( "<div id='result1'>" + dataReturned + " </div>" );
+            $("#results").empty();
+            var result = $( "<div id='result1'>" + dataReturned + "</div>" );
             $("#results").append(result);
 
         }
diff --git a/site/index.html b/site/index.html
index 11e99a1..922f482 100644
--- a/site/index.html
+++ b/site/index.html
@@ -6,7 +6,13 @@
 </head>
 <!------ Include the above in your HEAD tag ---------->
 
+
+
+
 <div class="container">
+    
+    <h1> C++ lue Search Engine </h1>
+
 	<div class="row">
         <div class="col-sm-6 col-sm-offset-3">
             <div id="imaginary_container"> 
-- 
GitLab