mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
Remove redundant property lookup
We already have it in a variable, just use that.
This commit is contained in:
parent
9c6a3f6983
commit
43646a062f
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ function createElement ( doc, tag, props, children ) {
|
||||||
for ( attr in props ) {
|
for ( attr in props ) {
|
||||||
value = props[ attr ];
|
value = props[ attr ];
|
||||||
if ( value !== undefined ) {
|
if ( value !== undefined ) {
|
||||||
el.setAttribute( attr, props[ attr ] );
|
el.setAttribute( attr, value );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue