diff --git a/public/assets/js/mastodon.js b/public/assets/js/mastodon.js index 9770010..1c0392c 100644 --- a/public/assets/js/mastodon.js +++ b/public/assets/js/mastodon.js @@ -74,7 +74,7 @@ async function openInNewTab(url) { } async function getMastodonPage() { let log = document.getElementById('log'); - if (!log) { + if (log == null) { setTimeout(getMastodonPage, 1000); return; }