aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-06-06 19:52:57 +0530
committerAjay <[email protected]>2024-06-06 19:52:57 +0530
commit36e3333e3982e5df14a0b40bf5855767ef296ece (patch)
tree8f5a1fafebe9c79de3034f7c5cd857da4b854b94
parent15fcc971f64d20986e6f3c91781106344444c8d5 (diff)
downloadSponsorBlock-36e3333e3982e5df14a0b40bf5855767ef296ece.tar.gz
SponsorBlock-36e3333e3982e5df14a0b40bf5855767ef296ece.zip
Fix submission menu disappearing when video ends
-rw-r--r--src/components/SubmissionNoticeComponent.tsx2
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()}