aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-09-03 01:58:22 -0400
committerAjay <[email protected]>2022-09-03 01:58:22 -0400
commit97af12416e0be86773393b0fade9dd3552481d9e (patch)
treed28ba3b6caef16c251a5bf0f70d744f90320616d
parentbf191dab92a4bac4e742c09bcbb6f40a2e4a5aee (diff)
downloadSponsorBlock-97af12416e0be86773393b0fade9dd3552481d9e.tar.gz
SponsorBlock-97af12416e0be86773393b0fade9dd3552481d9e.zip
Fix copy tooltip
-rw-r--r--src/render/GenericNotice.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/GenericNotice.tsx b/src/render/GenericNotice.tsx
index 1b691488..a02b4afa 100644
--- a/src/render/GenericNotice.tsx
+++ b/src/render/GenericNotice.tsx
@@ -70,7 +70,7 @@ export default class GenericNotice {
<tr id={"sponsorSkipNoticeMiddleRow" + this.idSuffix}
className="sponsorTimeMessagesRow"
- style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}>
+ style={{maxHeight: this.contentContainer ? (this.contentContainer().v.offsetHeight - 200) + "px" : null}}>
<td style={{width: "100%"}}>
{this.getMessageBoxes(this.idSuffix, options.textBoxes)}
</td>