Skip to content

Commit

Permalink
✏️ typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos committed Oct 24, 2019
1 parent 4c2d9d5 commit f84cb32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hijackers/dynamicStylesheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { Freer } from '../interfaces';

export default function hijack(): Freer {
const rawHtmlAppendChild = Node.prototype.appendChild;
const rawHtmlAppendChild = HTMLHeadElement.prototype.appendChild;

let dynamicStyleSheets: HTMLLinkElement[] = [];
HTMLHeadElement.prototype.appendChild = function appendChild<T extends Node>(this: any, newChild: T) {
Expand Down

0 comments on commit f84cb32

Please sign in to comment.