diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content.ts b/src/content.ts index 58a48f05..9e744ebb 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2266,7 +2266,9 @@ async function sendSubmitMessage() { return; } - if (!previewedSegment) { + if (!previewedSegment + && !sponsorTimesSubmitting.every((segment) => + [ActionType.Full, ActionType.Chapter, ActionType.Poi].includes(segment.actionType))) { alert(`${chrome.i18n.getMessage("previewSegmentRequired")} ${keybindToString(Config.config.previewKeybind)}`); return; } |