diff options
author | Ajay Ramachandran <[email protected]> | 2021-08-17 01:45:03 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-08-17 01:45:03 -0400 |
commit | 422139f4748a0c9cb54fe70ee26bc1f26671f754 (patch) | |
tree | 36284b57cfc6e67668448ea5eba80a08f43db1a1 | |
parent | 93e5bf50330f07ae3afe2af20fb47b586b3c890c (diff) | |
download | SponsorBlock-422139f4748a0c9cb54fe70ee26bc1f26671f754.tar.gz SponsorBlock-422139f4748a0c9cb54fe70ee26bc1f26671f754.zip |
Link to new wiki
-rw-r--r-- | src/components/SponsorTimeEditComponent.tsx | 15 | ||||
-rw-r--r-- | src/components/SubmissionNoticeComponent.tsx | 2 |
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> |