Skip to content

Commit

Permalink
Add: use "non preview" url for external open of theme demo site. (#5666)
Browse files Browse the repository at this point in the history
Possible thanks to #5550.
  • Loading branch information
folletto committed Jun 1, 2016
1 parent afbeb22 commit c0cbb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/my-sites/themes/theme-preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export default React.createClass( {
return(
<WebPreview showPreview={ this.props.showPreview }
onClose={ this.props.onClose }
previewUrl={ previewUrl } >
previewUrl={ previewUrl }
externalUrl={ this.props.theme.demo_uri } >
<Button primary
onClick={ this.onButtonClick }
>{ this.props.buttonLabel }</Button>
Expand Down

0 comments on commit c0cbb68

Please sign in to comment.