From 5f88f7f07b692e903cf7ee8beef1817b059720a6 Mon Sep 17 00:00:00 2001 From: Nitai Silva Date: Tue, 15 Oct 2013 12:08:28 -0300 Subject: [PATCH] Refatorando. --- assets/barra-brasil.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/barra-brasil.coffee b/assets/barra-brasil.coffee index bfb2470..5613cd9 100755 --- a/assets/barra-brasil.coffee +++ b/assets/barra-brasil.coffee @@ -24,14 +24,13 @@ tipo.nodeValue = "text/css" media = document.createAttribute("media") media.nodeValue = "all" - conteudo = document.createTextNode(css) style.setAttributeNode tipo style.setAttributeNode media if style.styleSheet #Hack para IE8 style.styleSheet.cssText = css else - style.appendChild conteudo + style.appendChild document.createTextNode(css) head.appendChild style -- libgit2 0.21.2