X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_contacts.js;h=dd7ae43568fce0a2047fe7f3f24eae83f2105ded;hb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;hp=ab572181006d43a71a54ef44ff3c5fd2237e3695;hpb=a3ea106662efc30ce1345ed5005383f3c198f73a;p=friendica.git diff --git a/view/theme/frio/js/mod_contacts.js b/view/theme/frio/js/mod_contacts.js index ab57218100..dd7ae43568 100644 --- a/view/theme/frio/js/mod_contacts.js +++ b/view/theme/frio/js/mod_contacts.js @@ -2,22 +2,6 @@ var batchConfirmed = false; $(document).ready(function() { - // Add contact_filter autocompletion to the search field. - $("#contacts-search").contact_filter(baseurl + '/acl', 'r', true); - - // Hide the viewcontact_wrapper if there is an input in the search field - // We are doing this to let the the contact_filter replace the original - // shown contacts. - $("#contacts-search").keyup(function(){ - var elText = $(this).val(); - if (elText.length !== 0) { - $("#viewcontact_wrapper").hide(); - $("ul.textcomplete-dropdown").addClass("show media-list"); - } else { - $("#viewcontact_wrapper").show(); - $("ul.textcomplete-dropdown").removeClass("show"); - } - }); // Initiale autosize for the textareas. autosize($("textarea.text-autosize"));