Skip to content

Commit

Permalink
Preview Button: Remove disabled prop
Browse files Browse the repository at this point in the history
Can never be disabled, since always has autodraft with post link property

See: #1967
  • Loading branch information
aduth committed Aug 3, 2017
1 parent a1b1886 commit 48749d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion editor/header/tools/preview-button.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ function PreviewButton( { link, postId } ) {
href={ link }
target={ `wp-preview-${ postId }` }
icon="visibility"
disabled={ ! link }
>
{ _x( 'Preview', 'imperative verb' ) }
</IconButton>
Expand Down

0 comments on commit 48749d0

Please sign in to comment.