Skip to content

Commit

Permalink
Merge pull request #13 from helpscout/fix-append
Browse files Browse the repository at this point in the history
Fix: Replace append with appendChild
  • Loading branch information
ItsJonQ committed May 7, 2018
2 parents 59eea68 + e8bba5b commit b93fdb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/styleTag.js
Original file line number Diff line number Diff line change
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 b93fdb7

Please sign in to comment.