diff options
Diffstat (limited to 'docs/glyphs/glyphs.js')
-rw-r--r-- | docs/glyphs/glyphs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/glyphs/glyphs.js b/docs/glyphs/glyphs.js index fccd1bce8..88e5ddb1b 100644 --- a/docs/glyphs/glyphs.js +++ b/docs/glyphs/glyphs.js @@ -519,7 +519,11 @@ function renderSingleInfo(g) { function configureUnicodeView(el, g) { var a = el.querySelector('a') - a.href = "https://codepoints.net/U+" + fmthex(g.unicode, 4) + if (g.unicode) { + a.href = "https://codepoints.net/U+" + fmthex(g.unicode, 4) + } else { + a.href = '' + } setv(el, 'unicodeCodePoint', g.unicode ? 'U+' + fmthex(g.unicode, 4) : '–') setv(el, 'unicodeName', g.unicodeName || '') } |