diff options
author | Ajay <[email protected]> | 2024-06-06 19:52:57 +0530 |
---|---|---|
committer | Ajay <[email protected]> | 2024-06-06 19:52:57 +0530 |
commit | 36e3333e3982e5df14a0b40bf5855767ef296ece (patch) | |
tree | 8f5a1fafebe9c79de3034f7c5cd857da4b854b94 /src/components | |
parent | 15fcc971f64d20986e6f3c91781106344444c8d5 (diff) | |
download | SponsorBlock-36e3333e3982e5df14a0b40bf5855767ef296ece.tar.gz SponsorBlock-36e3333e3982e5df14a0b40bf5855767ef296ece.zip |
Fix submission menu disappearing when video ends
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/SubmissionNoticeComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index 2cf394f1..63bac370 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -131,7 +131,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S {/* Sponsor Time List */} <tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix} className="sponsorTimeMessagesRow" - style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}} + style={{maxHeight: (this.contentContainer().v?.offsetHeight - 200) + "px"}} onMouseDown={(e) => e.stopPropagation()}> <td style={{width: "100%"}}> {this.getSponsorTimeMessages()} |