Skip to content

Commit

Permalink
Blocks: Fix scrolling to the image and gallery blocks on Insert
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jun 15, 2017
1 parent 95d50ca commit 740b93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/media-upload-button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MediaUploadButton extends Component {

componentDidMount() {
if ( !! this.props.autoOpen ) {
this.frame.open();
setTimeout( () => this.frame.open() );
}
}

Expand Down

0 comments on commit 740b93d

Please sign in to comment.