From 109da1cef558af77e0e3bef948981a3d6e1bd022 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 30 May 2013 21:35:11 +0200 Subject: index.html: add id for searchbox to simplify javascript --- templates/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 88470fc..6451874 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,7 +11,7 @@
@@ -61,8 +61,8 @@ var options = { }; var featureList = new List('hostlist', options); -$('input[type=search]').change(function(){ - featureList.search($('input[type=search]').val()); +$('#search').change(function(){ + featureList.search($('#search').val()); }); //--> -- cgit v1.2.3-1-g7c22