aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index 7883dee..97b71d7 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -397,7 +397,7 @@ RenderMsg.prototype.post = function (cb) {
forkLinks.map(function (a, i) {
return h('div', h('small', h('span.symbol', '⑂'), ' ', a))
}),
- self.c.x || self.c.y ? h('div', h('small', '[' + self.c.x + ', ' + self.c.y + ']')) : '',
+ typeof self.c.x === 'number' || typeof self.c.y === 'number' ? h('div', h('small', '[' + self.c.x + ', ' + self.c.y + ']')) : '',
self.c.tags ? h('div', h('small', 'tags: ', u.toArray(self.c.tags).map(function (tag, i) {
return [i > 0 ? ', ' : '', h('code', tag)]
}))) : '',