Eleminate now-redundant if block. Add change-log notes.

This commit is contained in:
spacejack 2017-08-15 15:53:23 -04:00
parent 1e56f7763e
commit ae0b791530
2 changed files with 1 additions and 5 deletions

View file

@ -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] = ""
}
}
}
}