aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/components/SponsorTimeEditComponent.tsx15
-rw-r--r--src/components/SubmissionNoticeComponent.tsx2
2 files changed, 9 insertions, 8 deletions
diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx
index 3de70141..337e899b 100644
--- a/src/components/SponsorTimeEditComponent.tsx
+++ b/src/components/SponsorTimeEditComponent.tsx
@@ -171,13 +171,14 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
{this.getCategoryOptions()}
</select>
- <img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
- className="helpButton"
- src={chrome.extension.getURL("icons/help.svg")}
- title={chrome.i18n.getMessage("categoryGuidelines")}
- onClick={() => chrome.runtime.sendMessage({"message": "openConfig"})}>
-
- </img>
+ {/* open in new tab */}
+ <a href="https://wiki.sponsor.ajay.app/index.php/Segment_Categories"
+ target="_blank" rel="noreferrer">
+ <img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
+ className="helpButton"
+ src={chrome.extension.getURL("icons/help.svg")}
+ title={chrome.i18n.getMessage("categoryGuidelines")} />
+ </a>
</div>
<br/>
diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx
index c6aae60a..2419ebc7 100644
--- a/src/components/SubmissionNoticeComponent.tsx
+++ b/src/components/SubmissionNoticeComponent.tsx
@@ -95,7 +95,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{/* Guidelines button */}
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton"
- onClick={() => window.open("https://github.com/ajayyy/SponsorBlock/wiki/Guidelines")}>
+ onClick={() => window.open("https://wiki.sponsor.ajay.app/index.php/Guidelines")}>
{chrome.i18n.getMessage(Config.config.submissionCountSinceCategories > 3 ? "guidelines" : "readTheGuidelines")}
</button>