From a130219a5e677f23853cfe0c1f36fc0810fc2c9c Mon Sep 17 00:00:00 2001 From: cel Date: Sat, 12 Jan 2019 10:48:01 -1000 Subject: fix checkbox rendering --- lib/render-msg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/render-msg.js b/lib/render-msg.js index 846700f..f4486a7 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -943,7 +943,7 @@ RenderMsg.prototype.valueTable = function (val, depth, cb) { return cb(), self.linkify(val) case 'boolean': return cb(), h('input', { - type: 'checkbox', disabled: 'disabled', checked: val + type: 'checkbox', disabled: 'disabled', checked: val ? 'checked' : undefined }) default: return cb(), String(val) -- cgit v1.2.3