Eleminate now-redundant if block. Add change-log notes.
This commit is contained in:
parent
1e56f7763e
commit
ae0b791530
2 changed files with 1 additions and 5 deletions
|
|
@ -572,11 +572,6 @@ module.exports = function($window) {
|
|||
for (var key in style) {
|
||||
element.style[key] = style[key]
|
||||
}
|
||||
if (old != null && typeof old !== "string") {
|
||||
for (var key in old) {
|
||||
if (!(key in style)) element.style[key] = ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue