aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render-msg.js')
-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 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)