diff options
author | Ajay <[email protected]> | 2022-10-30 13:23:02 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2022-10-30 13:23:02 -0400 |
commit | 8f19d3e83c6eead5179eee699c32f3f57db46324 (patch) | |
tree | 805c3112c1b1baeea83b24ec0f11d8dfd3d29410 /src | |
parent | d68c3659be89e40ed116c868317d05eee819828b (diff) | |
download | SponsorBlock-8f19d3e83c6eead5179eee699c32f3f57db46324.tar.gz SponsorBlock-8f19d3e83c6eead5179eee699c32f3f57db46324.zip |
Fix segment failed to fetch warning appearing for 404
Diffstat (limited to 'src')
-rw-r--r-- | src/content.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 3bfb66a5..a1afa590 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1926,7 +1926,7 @@ function startOrEndTimingNewSegment() { importExistingChapters(false); - if (lastResponseStatus !== 200 && !shownSegmentFailedToFetchWarning) { + if (lastResponseStatus !== 200 && lastResponseStatus !== 404 && !shownSegmentFailedToFetchWarning) { alert(chrome.i18n.getMessage("segmentFetchFailureWarning")); shownSegmentFailedToFetchWarning = true; |