From 01b1380b789b65364cc4d50403da31e4fa6b7dd0 Mon Sep 17 00:00:00 2001 From: Ajay Date: Sat, 23 Sep 2023 12:17:46 -0400 Subject: [PATCH] Update sponsorblock ui to tip --- public/_locales | 2 +- src/content.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/_locales b/public/_locales index 2135449c..329ed44b 160000 --- a/public/_locales +++ b/public/_locales @@ -1 +1 @@ -Subproject commit 2135449c376e7db4818b426be84a43e5c61d8cf2 +Subproject commit 329ed44b87c328ecb208e0a4bc4963f0382c4ca1 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))