]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/theme.php
smooth the comix comment box
[friendica.git] / view / theme / dispy / theme.php
index ac97948a3885314e53cc84f8d3dc580c8c90ad8a..26e07b1f76b81692fb222c42c176ed20316628a4 100644 (file)
@@ -73,6 +73,15 @@ $(document).ready(function() {
        $('#nav-notifications-linkmenu').click(function(event) {
                event.stopPropagation();
        });
+       // click outside profiles menu closes it
+       $('html').click(function() {
+               $('#profiles-menu-trigger').removeClass('selected');
+               document.getElementById("profiles-menu").style.display = "none";
+       });
+
+       $('#profiles-menu').click(function(event) {
+               event.stopPropagation();
+       });
 
        // main function in toolbar functioning
     function toggleToolbar() {
@@ -99,9 +108,6 @@ $(document).ready(function() {
                $(this).css({color: '#eec'});
        });
 
-       // make auto-complete work in more places
-       $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
-
 /*     $('#profile-photo-wrapper').mouseover(function() {
                $('.profile-edit-side-div').css({display: 'block'});
        }).mouseout(function() {