Skip to content

Commit

Permalink
Fix: Replace append with appendChild
Browse files Browse the repository at this point in the history
This is for IE/Edge support
  • Loading branch information
ItsJonQ committed May 7, 2018
1 parent 59eea68 commit e8bba5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/styleTag.js
Expand Up @@ -14,7 +14,7 @@ export const makeStyleTag = (documentTarget) => {

const head = documentNode.getElementsByTagName('head')[0]
/* istanbul ignore else */
if (head) head.append(tag)
if (head) head.appendChild(tag)

return tag
}
Expand Down

0 comments on commit e8bba5b

Please sign in to comment.