diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-12 10:48:01 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2019-01-12 10:48:01 -1000 |
commit | a130219a5e677f23853cfe0c1f36fc0810fc2c9c (patch) | |
tree | 26092f59361dfa0d1094381b9e6b51c626effb38 | |
parent | b10544275bc5120992629a4a0a09c5a74dabd41c (diff) | |
download | patchfoo-a130219a5e677f23853cfe0c1f36fc0810fc2c9c.tar.gz patchfoo-a130219a5e677f23853cfe0c1f36fc0810fc2c9c.zip |
fix checkbox rendering
-rw-r--r-- | lib/render-msg.js | 2 |
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) |