Skip to content

Commit

Permalink
make embed js an async method
Browse files Browse the repository at this point in the history
  • Loading branch information
le717 committed Jun 8, 2024
1 parent 4ecb517 commit 8c5ca1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/webring-embed.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function() {
(async function() {
"use strict";

const qWebringEmbedArea = document.querySelector("#webring-embed-area");
Expand All @@ -23,4 +23,4 @@

// Add the completed markup into the page
qWebringEmbedArea.insertAdjacentHTML("beforeend", markup.join(""));
})();
}());

0 comments on commit 8c5ca1a

Please sign in to comment.