]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/contacts-head.tpl
Update wall_thread.tpl
[friendica.git] / view / theme / frio / templates / contacts-head.tpl
index 7c7d85cbe3938b4b5a61baebb96d322e32907203..ebdf2a29a8b9f1252c718c3be5249f4aa7c2d2ac 100644 (file)
@@ -1,25 +1,2 @@
 
-<script type="text/javascript">
-$(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"));
-
-});
-</script>
-
+<script type="text/javascript" src="view/theme/frio/js/mod_contacts.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>