From 1295f50c23056c97d3c6a3464298727d72d5fcf2 Mon Sep 17 00:00:00 2001 From: Brian Peiris <brianpeiris@gmail.com> Date: Mon, 2 Apr 2018 12:28:34 -0700 Subject: [PATCH] fix iframe url --- 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 898137300..fb92fc06d 100644 --- a/src/react-components/profile-entry-panel.js +++ b/src/react-components/profile-entry-panel.js @@ -87,7 +87,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=${ + `/${/smoke/i.test(location.hostname) ? "smoke-" : ""}avatar-selector.html#avatar_id=${ this.state.avatar_id }` } -- GitLab