Skip to content

Commit

Permalink
fix: missing return
Browse files Browse the repository at this point in the history
Fix #495
  • Loading branch information
Grafikart committed Nov 15, 2024
1 parent 56666f7 commit 5f9f791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/elements/player/YoutubePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ async function loadYoutubeApi() {
return new Promise((resolve) => {
if (YT) {
resolve(YT);
return;
}
const tag = document.createElement("script");
tag.src = "https://www.youtube.com/iframe_api";
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grafikart",
"version": "1.0.106",
"version": "1.0.107",
"main": "index.js",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -51,5 +51,4 @@
"browser": true
}
},
"packageManager": "[email protected]+sha512.7c2ea089e1a6af306409c4fc8c4f0897bdac32b772016196c469d9428f1fe2d5a21daf8ad6512762654ac645b5d9136bb210ec9a00afa8dbc4677843ba362ecd"
}

0 comments on commit 5f9f791

Please sign in to comment.