diff --git a/render/render.js b/render/render.js index 578974cdd..a31d19346 100644 --- a/render/render.js +++ b/render/render.js @@ -675,7 +675,7 @@ module.exports = function() { setAttr(vnode, key, null, attrs[key], ns) } } - function setAttr(vnode, key, old, value, ns, isFileInput) { + function setAttr(vnode, key, old, value, ns) { if (key === "key" || key === "is" || value == null || isLifecycleMethod(key) || (old === value && !isFormAttribute(vnode, key)) && typeof value !== "object") return if (key[0] === "o" && key[1] === "n") return updateEvent(vnode, key, value) if (key.slice(0, 6) === "xlink:") vnode.dom.setAttributeNS("http://www.w3.org/1999/xlink", key.slice(6), value)