use keyup and not keydown for search input
This commit is contained in:
parent
c5cfaa24eb
commit
f85895b7ec
|
@ -48,6 +48,7 @@ html, body {
|
||||||
.selectedStop {
|
.selectedStop {
|
||||||
color: blue;
|
color: blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.clear {
|
.clear {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ $(function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.listSearch').keydown(function(e) {
|
$('.listSearch').keyup(function(e) {
|
||||||
var val = $(this).val();
|
var val = $(this).val();
|
||||||
var name = $(this).attr("id").replace("Search", "");
|
var name = $(this).attr("id").replace("Search", "");
|
||||||
var $list = $('#' + name + "List");
|
var $list = $('#' + name + "List");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user