Link to new wiki

This commit is contained in:
Ajay Ramachandran
2021-08-17 01:45:03 -04:00
parent 93e5bf5033
commit 422139f474
2 changed files with 9 additions and 8 deletions

View File

@@ -171,13 +171,14 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
{this.getCategoryOptions()} {this.getCategoryOptions()}
</select> </select>
<img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix} {/* open in new tab */}
className="helpButton" <a href="https://wiki.sponsor.ajay.app/index.php/Segment_Categories"
src={chrome.extension.getURL("icons/help.svg")} target="_blank" rel="noreferrer">
title={chrome.i18n.getMessage("categoryGuidelines")} <img id={"sponsorTimeCategoriesHelpButton" + this.idSuffix}
onClick={() => chrome.runtime.sendMessage({"message": "openConfig"})}> className="helpButton"
src={chrome.extension.getURL("icons/help.svg")}
</img> title={chrome.i18n.getMessage("categoryGuidelines")} />
</a>
</div> </div>
<br/> <br/>

View File

@@ -95,7 +95,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{/* Guidelines button */} {/* Guidelines button */}
<button className="sponsorSkipObject sponsorSkipNoticeButton sponsorSkipNoticeRightButton" <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")} {chrome.i18n.getMessage(Config.config.submissionCountSinceCategories > 3 ? "guidelines" : "readTheGuidelines")}
</button> </button>