From 837e58996ae3c8e6c50f63245aa5ae906e9bff3c Mon Sep 17 00:00:00 2001 From: acstll <19@8302.net> Date: Tue, 8 Mar 2016 22:11:30 +0100 Subject: [PATCH] Build --- lib/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/init.js b/lib/init.js index ad9175e..445b13c 100644 --- a/lib/init.js +++ b/lib/init.js @@ -42,7 +42,7 @@ module.exports = function init(modules) { // Close tag, if needed if (VOID_ELEMENTS[tagName] !== true && !svg || svg && CONTAINER_ELEMENTS[tagName] === true) { - if (vnode.data && vnode.data.props && vnode.data.props.innerHTML) { + if (vnode.data.props && vnode.data.props.innerHTML) { tag.push(vnode.data.props.innerHTML); } else if (vnode.text) { tag.push(vnode.text);