diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2022-10-14 10:16:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 03:16:37 +0200 |
commit | 219c38b9217d6dbb1621c27f64e9bf86bf92ec19 (patch) | |
tree | 64531d4cb88106954de193f9f05b623455748485 /app/javascript/mastodon/load_polyfills.js | |
parent | f01310dadbca94c74aa44e0a4725d49c5ac15434 (diff) |
Replace `CancelToken` to `AbortSignal` (#19352)
Diffstat (limited to 'app/javascript/mastodon/load_polyfills.js')
-rw-r--r-- | app/javascript/mastodon/load_polyfills.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/load_polyfills.js b/app/javascript/mastodon/load_polyfills.js index 73eedc9dc..cc5bcd18f 100644 --- a/app/javascript/mastodon/load_polyfills.js +++ b/app/javascript/mastodon/load_polyfills.js @@ -26,6 +26,7 @@ function loadPolyfills() { // Edge does not have requestIdleCallback and object-fit CSS property. // This avoids shipping them all the polyfills. const needsExtraPolyfills = !( + window.AbortController && window.IntersectionObserver && window.IntersectionObserverEntry && 'isIntersecting' in IntersectionObserverEntry.prototype && |