Commit 5f88f7f07b692e903cf7ee8beef1817b059720a6
1 parent
29ae04e2
Exists in
master
Refatorando.
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
assets/barra-brasil.coffee
... | ... | @@ -24,14 +24,13 @@ |
24 | 24 | tipo.nodeValue = "text/css" |
25 | 25 | media = document.createAttribute("media") |
26 | 26 | media.nodeValue = "all" |
27 | - conteudo = document.createTextNode(css) | |
28 | 27 | style.setAttributeNode tipo |
29 | 28 | style.setAttributeNode media |
30 | 29 | |
31 | 30 | if style.styleSheet #Hack para IE8 |
32 | 31 | style.styleSheet.cssText = css |
33 | 32 | else |
34 | - style.appendChild conteudo | |
33 | + style.appendChild document.createTextNode(css) | |
35 | 34 | |
36 | 35 | head.appendChild style |
37 | 36 | ... | ... |