Skip to content

Commit

Permalink
Merge pull request #1169 from ravinderk/hotfix/image_size_option
Browse files Browse the repository at this point in the history
Hide unnessary attachment detail fields
  • Loading branch information
Devin Walker committed Oct 28, 2016
2 parents d97b922 + b361580 commit 7dec748
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 7dec748

Please sign in to comment.