make filter more responsive

This commit is contained in:
Sanj 2012-02-16 19:31:01 +05:30
parent cd295a2511
commit 29b83dd080
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
{% block head %}
<script type="text/javascript">
$(function() {
$('#searchFilter').change(function() {
$('#searchFilter').keypress(function() {
var val = $(this).val().toLowerCase();
$('.listItem').each(function() {
var txt = $(this).text().toLowerCase();

View File

@ -7,7 +7,7 @@
{% block head %}
<script type="text/javascript">
$(function() {
$('#searchFilter').change(function() {
$('#searchFilter').keypress(function() {
var val = $(this).val().toLowerCase();
$('.listItem').each(function() {
var txt = $(this).text().toLowerCase();