aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-01-16 18:21:44 -0500
committerAjay <[email protected]>2024-01-16 18:21:44 -0500
commit814df465218d453184b7ffbc654c76078fb7a14c (patch)
tree587d0c07e41c5980969c88d8fb29901291570c1a /src
parent2bf6cf663b58fa46d2e5ce23823a38f8c2865b6a (diff)
downloadSponsorBlock-814df465218d453184b7ffbc654c76078fb7a14c.tar.gz
SponsorBlock-814df465218d453184b7ffbc654c76078fb7a14c.zip
Don't warn about using the word intro in chapter names
Diffstat (limited to 'src')
-rw-r--r--src/components/SponsorTimeEditComponent.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx
index c6369e2e..7f30f0cc 100644
--- a/src/components/SponsorTimeEditComponent.tsx
+++ b/src/components/SponsorTimeEditComponent.tsx
@@ -34,7 +34,7 @@ export interface SponsorTimeEditState {
chapterNameSelectorHovering: boolean;
}
-const categoryNamesGrams: string[] = [].concat(...CompileConfig.categoryList.filter((name) => name !== "chapter")
+const categoryNamesGrams: string[] = [].concat(...CompileConfig.categoryList.filter((name) => !["chapter", "intro"].includes(name))
.map((name) => chrome.i18n.getMessage("category_" + name).split(/\/|\s|-/)));
class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, SponsorTimeEditState> {