Fix call to val()
authorDavid Humphrey (:humph) <david.humphrey@senecac.on.ca>
Wed, 09 Feb 2011 18:06:21 -0500
changeset 43 b5b7850447e9
parent 42 ad1a64fce944
child 44 2f3d0f15dd96
push id33
push userdavid.humphrey@senecac.on.ca
push dateWed, 09 Feb 2011 23:09:08 +0000
Fix call to val()
server/static/search.js
--- a/server/static/search.js
+++ b/server/static/search.js
@@ -25,17 +25,17 @@ var results;
         if (results.hasMore)
             div.append("<br>(Showing " + results.bugs.length + " of " + results.totalResults + " results)<br>");
         };
     xhr.sendTime = Date.now();
     xhr.send(null);
   };
 
   function update() {
-    location.hash = "#" + encodeURIComponent($("#keywords").val);
+    location.hash = "#" + encodeURIComponent($("#keywords").val());
   }
 
   $("#submitton").bind("click", update);
 
   $(window).bind("hashchange", function() {
       $("#keywords").val(decodeURIComponent(location.hash.substring(1)));
       sendmsg();
   });