Skip to content

Commit

Permalink
Hide unnessary attachment detail fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinderk committed Oct 28, 2016
1 parent 241cb1e commit b361580
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/js/admin/admin-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jQuery(document).ready(function ($) {
if( $attachment_display_setting.length ) {
$( '.alignment', $attachment_display_setting ).closest('label').hide();
$( '.link-to', $attachment_display_setting ).closest('label').hide();
$( '.attachment-details label' ).hide();
}

});
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin/admin-settings.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b361580

Please sign in to comment.