index.jsView |
---|
139 | 139 … | ), |
140 | 140 … | h('div.msg', |
141 | 141 … | h('p.small.ri', 'dig'), |
142 | 142 … | h('img.avatar', {src: bloburl + image}), |
143 | | - h('a', {href: me }, '@' + name), ' dug ', |
144 | | - h('div', vote.value.content.vote.link, |
| 143 … | + h('a', {href: me }, '@' + name), ' dug ', |
| 144 … | + h('a', {href: vote.value.content.vote.link}, redo.value.content.text.substring(0, 40)), '...', |
145 | 145 … | h('p.date', mo(vote.value.timestamp).fromNow()), |
146 | 146 … | h('div.msg', |
147 | 147 … | h('img.avatar', {src: bloburl + reauthor.image}), |
148 | 148 … | h('a', {href: reauthor.name }, '@' + reauthor.name), |
149 | 149 … | h('div', {innerHTML: md.block(redo.value.content.text)}, |
150 | 150 … | h('span.date', mo(redo.value.timestamp).fromNow()) |
151 | 151 … | ) |
152 | 152 … | ) |
153 | | - ) |
154 | 153 … | ) |
155 | 154 … | ) |
156 | 155 … | ).outerHTML) |
157 | 156 … | } |