aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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>