Skip to content

Commit

Permalink
Remove external stylesheet warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
flackr committed Feb 9, 2024
1 parent 63ac47e commit 2ec3d0c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@ function initPolyfill() {
return;
}

if ([...document.styleSheets].filter((s) => s.href !== null).length) {
console.warn(
'Non-Inline StyleSheets detected: ScrollTimeline polyfill currently only' +
' supports inline styles within style tags'
);
}

if (
!Reflect.defineProperty(window, 'ScrollTimeline', { value: ScrollTimeline })
) {
Expand Down

0 comments on commit 2ec3d0c

Please sign in to comment.