diff --git a/scripts/tweetviewer.js b/scripts/tweetviewer.js index 1cf837ec..1c1ca1ce 100644 --- a/scripts/tweetviewer.js +++ b/scripts/tweetviewer.js @@ -1533,7 +1533,7 @@ class TweetViewer { }); // community notes - if(t.birdwatch && options.mainTweet && !vars.hideCommunityNotes) { + if(t.birdwatch && t.birdwatch.subtitle && options.mainTweet && !vars.hideCommunityNotes) { let div = document.createElement('div'); div.classList.add('tweet-birdwatch', 'box'); let text = Array.from(escapeHTML(t.birdwatch.subtitle.text));