aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_photos.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_photos.js')
-rw-r--r--view/js/mod_photos.js16
1 files changed, 1 insertions, 15 deletions
diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js
index e3df3ca68..cbc1d8fa1 100644
--- a/view/js/mod_photos.js
+++ b/view/js/mod_photos.js
@@ -7,21 +7,7 @@ $(document).ready(function() {
$("#photo-edit-newtag").val('@' + data.name);
});
- $('#id_body').bbco_autocomplete('bbcode');
-
- $('#contact_allow, #contact_deny, #group_allow, #group_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();
- $('#jot-perms-icon').removeClass('fa-unlock').addClass('fa-lock');
- $('#jot-public').hide();
- });
- if(selstr === null) {
- $('#jot-perms-icon').removeClass('fa-lock').addClass('fa-unlock');
- $('#jot-public').show();
- }
- }).trigger('change');
-
+ $('textarea').bbco_autocomplete('bbcode');
showHideBodyTextarea();
});