diff --git a/src/routes/_actions/compose.js b/src/routes/_actions/compose.js
index 8060c390..e9922854 100644
--- a/src/routes/_actions/compose.js
+++ b/src/routes/_actions/compose.js
@@ -105,5 +105,10 @@ export function setReplyVisibility (realm, replyVisibility) {
}
if (typeof window !== "undefined") {
- window.fediloveFunctions.postStatus = postStatus;
+ const _this = setInterval(function() {
+ if (window.fediloveFunctions != undefined) {
+ window.fediloveFunctions.postStatus = postStatus;
+ clearInterval(_this);
+ }
+ }, 300);
}
diff --git a/src/routes/_components/status/Status.html b/src/routes/_components/status/Status.html
index 66f3b57d..ab8f5436 100644
--- a/src/routes/_components/status/Status.html
+++ b/src/routes/_components/status/Status.html
@@ -12,9 +12,7 @@
{/if}