diff options
author | ThibG <thib@sitedethib.com> | 2018-05-11 16:26:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 16:26:23 +0200 |
commit | 479e5bbd4aaa4b3da3aa78f560facb9856bcdf45 (patch) | |
tree | 184de738f4084a55c1798321b0b41ff37efe2517 /app/javascript/flavours/glitch/features/account/components/header.js | |
parent | 34142ab29c33104793afe3199f102d84b83b9b57 (diff) | |
parent | f6ec8c48210f6bce421d0d7248737d028ae88ee3 (diff) |
Merge pull request #474 from ThibG/glitch-soc/fixes/html-ified-tooltip
[Glitch] Use plaintext value for field value tooltips in web UI
Diffstat (limited to 'app/javascript/flavours/glitch/features/account/components/header.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/header.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 15bd6b365..464c73c9a 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -111,7 +111,7 @@ export default class Header extends ImmutablePureComponent { {fields.map((pair, i) => ( <dl key={i}> <dt dangerouslySetInnerHTML={{ __html: pair.get('name_emojified') }} title={pair.get('name')} /> - <dd dangerouslySetInnerHTML={{ __html: pair.get('value_emojified') }} title={pair.get('value')} /> + <dd dangerouslySetInnerHTML={{ __html: pair.get('value_emojified') }} title={pair.get('value_plain')} /> </dl> ))} </div> |