From f0ea3e29a7a8f9f604cdee608260423b91935fe1 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 30 May 2013 21:19:49 +0200 Subject: index: update the search if value of input changed without key event --- templates/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/index.html b/templates/index.html index 574f8e0..88470fc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -61,6 +61,9 @@ var options = { }; var featureList = new List('hostlist', options); +$('input[type=search]').change(function(){ + featureList.search($('input[type=search]').val()); +}); //--> {% endblock %} -- cgit v1.2.3-1-g7c22