mirror of
https://github.com/friendica/friendica
synced 2024-11-18 05:43:42 +00:00
19 lines
375 B
Smarty
19 lines
375 B
Smarty
|
|
<script>
|
|
$(document).ready(function() {
|
|
$("#contacts-search").contact_autocomplete(baseurl + '/acl', 'a', true);
|
|
|
|
|
|
$("#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();
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
|