diff --git a/src/react-components/profile-entry-panel.js b/src/react-components/profile-entry-panel.js index 91044c27cab1955c7e35698322c618b907a3f95d..b6dcee0df47cd7c32ca61d2656d951b954776ae4 100644 --- a/src/react-components/profile-entry-panel.js +++ b/src/react-components/profile-entry-panel.js @@ -79,7 +79,7 @@ class ProfileEntryPanel extends Component { className="profile-entry__avatar-selector" src={ /* HACK: Have to account for the smoke test server like this. Feels wrong though. */ - `${/smoke/i.test(location.hostname) ? 'smoke-' : ''}avatar-selector.html#avatar_id=${this.state.avatar_id}` + `/${/smoke/i.test(location.hostname) ? 'smoke-' : ''}avatar-selector.html#avatar_id=${this.state.avatar_id}` } ref={ifr => this.avatarSelector = ifr}></iframe> <input className="profile-entry__form-submit" type="submit" value={formatMessage({ id: "profile.save" }) }/>