aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy-dark/theme.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-16 15:08:32 -0700
committerfriendica <info@friendica.com>2012-03-16 15:08:32 -0700
commit141ae076ad9fc6dfce1b25604f44faa54a4ad940 (patch)
treee764658692b4c66b5f0f14d796a56980c23779f6 /view/theme/dispy-dark/theme.php
parent58940175e173c04c9bfa3498af40c65f6514a9ce (diff)
parentc7dd52be6268e0232dc3c3e035235078b5ea4547 (diff)
downloadvolse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.tar.gz
volse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.tar.bz2
volse-hubzilla-141ae076ad9fc6dfce1b25604f44faa54a4ad940.zip
Merge branch 'pull'
Diffstat (limited to 'view/theme/dispy-dark/theme.php')
-rw-r--r--view/theme/dispy-dark/theme.php17
1 files changed, 16 insertions, 1 deletions
diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php
index c0611ce83..b57971db9 100644
--- a/view/theme/dispy-dark/theme.php
+++ b/view/theme/dispy-dark/theme.php
@@ -64,7 +64,7 @@ $(document).ready(function() {
$('#drop-' + id).addClass('iconspacer'); }
);
- // notifications
+ // click outside notifications menu closes it
$('html').click(function() {
$('#nav-notifications-linkmenu').removeClass('selected');
document.getElementById("nav-notifications-menu").style.display = "none";
@@ -73,7 +73,17 @@ $(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() {
if ( $('#nav-floater').is(':visible') ) {
$('#nav-floater').slideUp('fast');
@@ -87,15 +97,20 @@ $(document).ready(function() {
});
}
};
+ // our trigger for the toolbar button
$('.floaterflip').click(function() {
toggleToolbar();
return false;
});
+ // (attempt) to change the text colour in a top post
$('#profile-jot-text').focusin(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() {