diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-01-30 23:27:22 -0800 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-01-30 23:27:22 -0800 |
commit | 452af2227f45069cb25dc86071162da0a49b9ad4 (patch) | |
tree | d70e64fe122bf07e133b745340b24efb913c1a3b | |
parent | f7237647b32ffe25991a51a3f7740384ce18cc46 (diff) | |
download | patchfoo-452af2227f45069cb25dc86071162da0a49b9ad4.tar.gz patchfoo-452af2227f45069cb25dc86071162da0a49b9ad4.zip |
Hide alt for avatar images
This makes it look better in w3m
-rw-r--r-- | lib/render.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render.js b/lib/render.js index 135f3b3..f68c8aa 100644 --- a/lib/render.js +++ b/lib/render.js @@ -106,7 +106,7 @@ Render.prototype.avatarImage = function (link, cb) { if (!link) return cb(), '' if (typeof link === 'string') link = {link: link} var img = h('img.ssb-avatar-image', { - alt: link.link + alt: ' ' }) if (link.image) gotAbout(null, link) else self.app.getAbout(link.link, gotAbout) |