Skip to content

Commit

Permalink
Add: use "non preview" url for external open of theme demo site.
Browse files Browse the repository at this point in the history
Possible thanks to #5550.
  • Loading branch information
folletto committed May 30, 2016
1 parent dec96e3 commit 9fc4bc8
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 @@ -31,7 +31,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 9fc4bc8

Please sign in to comment.