cleanup and styling
This commit is contained in:
parent
76818dab24
commit
f4c1d4a998
3 changed files with 2 additions and 5 deletions
|
|
@ -358,9 +358,7 @@ module.exports = function($window, onevent) {
|
|||
if (value) element.setAttribute(key, "")
|
||||
else element.removeAttribute(key)
|
||||
}
|
||||
else element.setAttribute(
|
||||
key === "className" ? "class" : key,
|
||||
value)
|
||||
else element.setAttribute(key === "className" ? "class" : key, value)
|
||||
}
|
||||
}
|
||||
function setLateAttrs(vnode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue