X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fphotos_head.tpl;h=b633ee76d75a632f2aa8b99bb48dc1ffc9029f98;hb=4246ffc892d13fc7dd0057d8358fcacc44da5048;hp=88fd067c8ca3e05f11162917734c58e35d549f3e;hpb=1df19d3553efc02c76ed17cdc617312f19b21bce;p=friendica.git diff --git a/view/templates/photos_head.tpl b/view/templates/photos_head.tpl index 88fd067c8c..b633ee76d7 100644 --- a/view/templates/photos_head.tpl +++ b/view/templates/photos_head.tpl @@ -7,14 +7,14 @@ $(document).ready(function() { - $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { + $('#contact_allow, #contact_deny, #circle_allow, #circle_deny').change(function() { var selstr; - $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { - selstr = $(this).text(); + $('#contact_allow option:selected, #contact_deny option:selected, #circle_allow option:selected, #circle_deny option:selected').each( function() { + selstr = $(this).html(); $('#jot-perms-icon').removeClass('unlock').addClass('lock'); $('#jot-public').hide(); }); - if(selstr == null) { + if(selstr == null) { $('#jot-perms-icon').removeClass('lock').addClass('unlock'); $('#jot-public').show(); }