Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ImprovedTube authored Oct 23, 2024
1 parent 02b5557 commit 90a7879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js&css/web-accessible/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ ImprovedTube.playerOnTimeUpdate = function () {

ImprovedTube.playerOnLoadedMetadata = function () {
setTimeout(function () {ImprovedTube.playerSize();}, 100);
setTimeout(function () { ImprovedTube.transcript(ImprovedTube.elements.panels); ImprovedTube.chapters(document.querySelector(ImprovedTube.elements.panels));}, 250);
setTimeout(function () { if (ImprovedTube.elements.panels) { ImprovedTube.transcript(ImprovedTube.elements.panels); ImprovedTube.chapters(ImprovedTube.elements.panels);}}, 250);
};

ImprovedTube.playerOnPause = function (event) {
Expand Down

1 comment on commit 90a7879

@dodieboy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.