aboutsummaryrefslogtreecommitdiffstats
path: root/view/jot-header.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-04-28 19:01:35 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-04-28 19:01:35 +0200
commitdaa7dc983bbae309dc984617dbb31a0dba52e481 (patch)
treea59ce035586f08f4a0da82a576c344461926d7e0 /view/jot-header.tpl
parent0ac4d6ecc97baf3a8b40e411d2e57e9908667675 (diff)
downloadvolse-hubzilla-daa7dc983bbae309dc984617dbb31a0dba52e481.tar.gz
volse-hubzilla-daa7dc983bbae309dc984617dbb31a0dba52e481.tar.bz2
volse-hubzilla-daa7dc983bbae309dc984617dbb31a0dba52e481.zip
Icons as CSS classes, hide net/home/mail/notify-update divs with no value
Diffstat (limited to 'view/jot-header.tpl')
-rw-r--r--view/jot-header.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 94f0f58f8..0fdd30209 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -74,11 +74,11 @@ tinyMCE.init({
var selstr;
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
selstr = $(this).text();
- $('#profile-jot-perms img').attr('src', 'images/lock_icon.gif');
+ $('#jot-perms-icon').removeClass('unlock').addClass('lock');
$('.profile-jot-net input').attr('disabled', 'disabled');
});
if(selstr == null) {
- $('#profile-jot-perms img').attr('src', 'images/unlock_icon.gif');
+ $('#jot-perms-icon').removeClass('lock').addClass('unlock');
$('.profile-jot-net input').attr('disabled', false);
}