From f519a1963ba041599553859710715a02628b7481 Mon Sep 17 00:00:00 2001 From: "i.j" Date: Fri, 16 Feb 2024 18:58:56 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 68e9e07..ca98621 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ const myTimeline = new MastodonTimeline(); By default it will show a timeline with 20 posts from the instance [mastodon.social](https://mastodon.social/public/local) -ℹ️ If you are trying to initialize the script before `mastodon-timeline.js` is loaded, you will probably get such an error: "MastodonTimeline is not defined". To fix that initialize the script by running: +ℹ️ If you are trying to initialize the script before `mastodon-timeline.js` is loaded, you will probably get such an error: "_MastodonTimeline is not defined_". To fix that initialize the script by running: ```js window.addEventListener("load", () => {