Skip to content

Commit

Permalink
Remove function not used since rrweb-io#995
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray committed Apr 22, 2024
1 parent f728202 commit d059299
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/rrweb-snapshot/src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,6 @@ function onceIframeLoaded(
iframeEl.addEventListener('load', listener);
}

function isStylesheetLoaded(link: HTMLLinkElement) {
if (!link.getAttribute('href')) return true; // nothing to load
return link.sheet !== null;
}

function onceStylesheetLoaded(
link: HTMLLinkElement,
listener: () => unknown,
Expand Down

0 comments on commit d059299

Please sign in to comment.