mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-24 08:52:46 +00:00
Fix async
This commit is contained in:
parent
59247166de
commit
74234709ea
@ -1,3 +1,6 @@
|
|||||||
|
v3.7.1 - 15/07/2023
|
||||||
|
- Use window.onload to take async attribute into account
|
||||||
|
|
||||||
v3.7.0 - 10/07/2023
|
v3.7.0 - 10/07/2023
|
||||||
- Add Markdown to HTML feature
|
- Add Markdown to HTML feature
|
||||||
- Add option to change Markdown symbol ">" into a blockquote HTML tag
|
- Add option to change Markdown symbol ">" into a blockquote HTML tag
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Mastodon embed feed timeline v3.7.0 */
|
/* Mastodon embed feed timeline v3.7.1 */
|
||||||
/* More info at: */
|
/* More info at: */
|
||||||
/* https://gitlab.com/idotj/mastodon-embed-feed-timeline */
|
/* https://gitlab.com/idotj/mastodon-embed-feed-timeline */
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
// Mastodon embed feed timeline v3.7.0
|
// Mastodon embed feed timeline v3.7.1
|
||||||
// More info at:
|
// More info at:
|
||||||
// https://gitlab.com/idotj/mastodon-embed-feed-timeline
|
// https://gitlab.com/idotj/mastodon-embed-feed-timeline
|
||||||
|
|
||||||
// Timeline settings
|
// Timeline settings
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
window.addEventListener("load", () => {
|
||||||
let mapi = new MastodonApi({
|
let mapi = new MastodonApi({
|
||||||
// Id of the <div> containing the timeline
|
// Id of the <div> containing the timeline
|
||||||
container_body_id: "mt-body",
|
container_body_id: "mt-body",
|
||||||
|
2
src/mastodon-timeline.min.js
vendored
2
src/mastodon-timeline.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user