aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content.ts
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-01-23 14:22:54 -0500
committerAjay <[email protected]>2024-01-23 14:22:54 -0500
commita662c3e04f3c61dc53f88d6b99d440bc33c6269a (patch)
treee6fe5f0560c1b50908c84af88f0ee3a8ea08028b /src/content.ts
parent985910cbf63cf7ab548853e0dc525e9eeda0f088 (diff)
downloadSponsorBlock-a662c3e04f3c61dc53f88d6b99d440bc33c6269a.tar.gz
SponsorBlock-a662c3e04f3c61dc53f88d6b99d440bc33c6269a.zip
Reloading after creating segments shouldn't require previewing
Diffstat (limited to 'src/content.ts')
-rw-r--r--src/content.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content.ts b/src/content.ts
index bf39ed89..d4581486 100644
--- a/src/content.ts
+++ b/src/content.ts
@@ -1986,6 +1986,9 @@ function updateSponsorTimesSubmitting(getFromConfig = true) {
}
if (sponsorTimesSubmitting.length > 0) {
+ // Assume they already previewed a segment
+ previewedSegment = true;
+
importExistingChapters(true);
}
}