Bundled output for commit 88d56cd4ae [skip ci]

This commit is contained in:
Gandalf-the-Bot 2016-08-05 13:46:28 +00:00
parent 88d56cd4ae
commit 5eb9c9010b
2 changed files with 5 additions and 5 deletions

View file

@ -675,11 +675,11 @@ var renderService = function($window) {
}
//style
function updateStyle(element, old, style) {
if (old === style) element.style = "", old = null
if (style == null) element.style = ""
else if (typeof style === "string") element.style = style
if (old === style) element.cssText = "", old = null
if (style == null) element.cssText = ""
else if (typeof style === "string") element.cssText = style
else {
if (typeof old === "string") element.style = ""
if (typeof old === "string") element.cssText = ""
for (var key in style) {
element.style[key] = style[key]
}