Skip to content

Commit

Permalink
Default to grid view when uploading videos (#8962)
Browse files Browse the repository at this point in the history
* Default to grid view when clicking to upload videos

* Default to grid view when clicking to upload videos

* Undo changes to module-headings
  • Loading branch information
gravityrail authored and jeherve committed Mar 5, 2018
1 parent 4e272a1 commit 5dbbe57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _inc/client/plans/plan-body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ class PlanBody extends React.Component {
<p>{ __( 'Fast, optimized, ad-free, and unlimited video hosting for your site.' ) }</p>
{
this.props.isModuleActivated( 'videopress' ) ? (
<Button onClick={ () => this.trackPlansClick( 'upload_videos' ) } href={ this.props.siteAdminUrl + 'upload.php' } className="is-primary">
<Button onClick={ () => this.trackPlansClick( 'upload_videos' ) } href={ this.props.siteAdminUrl + 'upload.php?mode=grid' } className="is-primary">
{ __( 'Upload Videos Now' ) }
</Button>
)
Expand Down

0 comments on commit 5dbbe57

Please sign in to comment.