consolidate recent autocomplete changes

This commit is contained in:
Mario Vavti
2018-05-13 23:09:30 +02:00
parent 4f69bcfc38
commit 7ed32a764c
3 changed files with 17 additions and 32 deletions

View File

@@ -3,14 +3,3 @@ $(document).ready(function() {
$(".autotime").timeago();
});
$("#contacts-search").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search").click();
}
});
$(".autocomplete-w1 .selected").keyup(function(event){
if(event.keyCode == 13){
$("#contacts-search").click();
}
});