diff options
author | Ajay <[email protected]> | 2023-09-23 12:17:46 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-09-23 12:17:46 -0400 |
commit | 01b1380b789b65364cc4d50403da31e4fa6b7dd0 (patch) | |
tree | 6343d6ee363b9540833c4b6cf0ed6ab3aa006c72 | |
parent | c51b18465e6b33e3d47c1bacca0bc8b470bbcfcb (diff) | |
download | SponsorBlock-01b1380b789b65364cc4d50403da31e4fa6b7dd0.tar.gz SponsorBlock-01b1380b789b65364cc4d50403da31e4fa6b7dd0.zip |
Update sponsorblock ui to tip
m--------- | public/_locales | 0 | ||||
-rw-r--r-- | src/content.ts | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/public/_locales b/public/_locales -Subproject 2135449c376e7db4818b426be84a43e5c61d8cf +Subproject 329ed44b87c328ecb208e0a4bc4963f0382c4ca diff --git a/src/content.ts b/src/content.ts index 6b44520f..7b1c757b 100644 --- a/src/content.ts +++ b/src/content.ts @@ -2127,7 +2127,7 @@ async function vote(type: number, UUID: SegmentUUID, category?: Category, skipNo //success (treat rate limits as a success) skipNotice.afterVote.bind(skipNotice)(utils.getSponsorTimeFromUUID(sponsorTimes, UUID), type, category); } else if (response.successType == -1) { - if (response.statusCode === 403 && response.responseText.startsWith("Vote rejected due to a warning from a moderator.")) { + if (response.statusCode === 403 && response.responseText.startsWith("Vote rejected due to a tip from a moderator.")) { openWarningDialog(skipNoticeContentContainer); } else { skipNotice.setNoticeInfoMessage.bind(skipNotice)(getErrorMessage(response.statusCode, response.responseText)) |