Skip to content

Commit

Permalink
PostFormat: Clarify disable reason
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 24, 2017
1 parent 1626464 commit d4f26bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/post-format/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function PostFormat( { postType, onUpdatePostFormat, postFormat = 'standard', su
const postFormatSelectorId = 'post-format-selector-' + instanceId;
const suggestion = find( POST_FORMATS, ( format ) => format.id === suggestedFormat );

// Disable reason: A select with an onchange throws a warning
// Disable reason: We need to change the value immiediately to show/hide the suggestion if needed

/* eslint-disable jsx-a11y/no-onchange */
return (
Expand Down

0 comments on commit d4f26bd

Please sign in to comment.