From bd429aa639be51cafe7f47f1fbac4063c74e0d51 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Fri, 30 Mar 2018 17:12:27 -0700 Subject: [PATCH] Avatar selector is at root --- src/react-components/profile-entry-panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/react-components/profile-entry-panel.js b/src/react-components/profile-entry-panel.js index 91044c27c..b6dcee0df 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" }) }/> -- GitLab