Commit 29ae04e2b92e90512848dbbffc13ad1a23310e74

Authored by Nitai Silva
1 parent 7cef4ca1
Exists in master

Corre??o para o IE8

Showing 1 changed file with 6 additions and 1 deletions   Show diff stats
assets/barra-brasil.coffee
... ... @@ -27,6 +27,11 @@
27 27 conteudo = document.createTextNode(css)
28 28 style.setAttributeNode tipo
29 29 style.setAttributeNode media
30   - style.appendChild conteudo
  30 +
  31 + if style.styleSheet #Hack para IE8
  32 + style.styleSheet.cssText = css
  33 + else
  34 + style.appendChild conteudo
  35 +
31 36 head.appendChild style
32 37  
... ...