diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2018-09-01 23:12:51 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2018-09-01 23:17:55 +0900 |
| commit | d8dcc4da275230e332fad0eb6ce09703d08aec30 (patch) | |
| tree | 8967c4a548ce8a0d19b5e4ef3c8eb37e0d3414d1 /src/misc | |
| parent | fix #2315 (#2339) (diff) | |
| download | misskey-d8dcc4da275230e332fad0eb6ce09703d08aec30.tar.gz misskey-d8dcc4da275230e332fad0eb6ce09703d08aec30.tar.bz2 misskey-d8dcc4da275230e332fad0eb6ce09703d08aec30.zip | |
Use string interpolation
Diffstat (limited to 'src/misc')
| -rw-r--r-- | src/misc/fa.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/fa.ts b/src/misc/fa.ts index 8be06362c3..90cdac89b2 100644 --- a/src/misc/fa.ts +++ b/src/misc/fa.ts @@ -26,7 +26,7 @@ export const replacement = (match: string, key: string) => { arg == 'B' ? 'fab' : ''; } else if (arg.startsWith('.')) { - classes.push('fa-' + arg.substr(1)); + classes.push(`fa-${arg.substr(1)}`); } else if (arg.startsWith('-')) { transform = arg.substr(1).split('|').join(' '); } else { |