aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy-dark/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/dispy-dark/theme.php')
-rw-r--r--view/theme/dispy-dark/theme.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/view/theme/dispy-dark/theme.php b/view/theme/dispy-dark/theme.php
index c0611ce83..0134b1f91 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";
@@ -74,6 +74,7 @@ $(document).ready(function() {
event.stopPropagation();
});
+ // main function in toolbar functioning
function toggleToolbar() {
if ( $('#nav-floater').is(':visible') ) {
$('#nav-floater').slideUp('fast');
@@ -87,15 +88,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() {