mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-09-20 13:03:45 +02:00
Fix segment failed to fetch warning appearing for 404
This commit is contained in:
parent
d68c3659be
commit
8f19d3e83c
1 changed files with 1 additions and 1 deletions
|
@ -1926,7 +1926,7 @@ function startOrEndTimingNewSegment() {
|
||||||
|
|
||||||
importExistingChapters(false);
|
importExistingChapters(false);
|
||||||
|
|
||||||
if (lastResponseStatus !== 200 && !shownSegmentFailedToFetchWarning) {
|
if (lastResponseStatus !== 200 && lastResponseStatus !== 404 && !shownSegmentFailedToFetchWarning) {
|
||||||
alert(chrome.i18n.getMessage("segmentFetchFailureWarning"));
|
alert(chrome.i18n.getMessage("segmentFetchFailureWarning"));
|
||||||
|
|
||||||
shownSegmentFailedToFetchWarning = true;
|
shownSegmentFailedToFetchWarning = true;
|
||||||
|
|
Loading…
Reference in a new issue