diff options
author | Ajay Ramachandran <[email protected]> | 2021-05-11 01:09:01 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2021-05-11 01:09:01 -0400 |
commit | e680099cecec7754029e1ede1d6eaa6328ff5989 (patch) | |
tree | 7dffd1f77dfcd2d698828a55e744166eba25d2ae /src/components/SkipNoticeComponent.tsx | |
parent | 616981a2b7063b726491eb4b533c4a90da3fcc76 (diff) | |
download | SponsorBlock-e680099cecec7754029e1ede1d6eaa6328ff5989.tar.gz SponsorBlock-e680099cecec7754029e1ede1d6eaa6328ff5989.zip |
Scroll to category in options page
Diffstat (limited to 'src/components/SkipNoticeComponent.tsx')
-rw-r--r-- | src/components/SkipNoticeComponent.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/SkipNoticeComponent.tsx b/src/components/SkipNoticeComponent.tsx index 74114f9f..275a94d4 100644 --- a/src/components/SkipNoticeComponent.tsx +++ b/src/components/SkipNoticeComponent.tsx @@ -198,7 +198,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta </td> } - {/* Unskip Button */} + {/* Unskip/Skip Button */} <td className="sponsorSkipNoticeUnskipSection"> <button id={"sponsorSkipUnskipButton" + this.idSuffix} className="sponsorSkipObject sponsorSkipNoticeButton" @@ -424,7 +424,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta // See if show more categories was pressed if (event.target.value === "moreCategories") { // Open options page - chrome.runtime.sendMessage({"message": "openConfig"}); + chrome.runtime.sendMessage({message: "openConfig", hash: event.target.value + "OptionsName"}); // Reset option to original event.target.value = this.segments[0].category; |