Skip to content

Commit

Permalink
fix element attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Dec 6, 2024
1 parent 1588ce5 commit 23cacd9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1566,11 +1566,9 @@ function videoElementChange(newVideo: boolean): void {
waitFor(() => Config.isReady() && !document.hidden, 24 * 60 * 60, 500).then(() => {
if (newVideo) {
setupVideoListeners();
waitFor(getPageLoaded, 20000, 10).then(() => {
setupSkipButtonControlBar();
setupCategoryPill();
setupDescriptionPill();
});
setupSkipButtonControlBar();
setupCategoryPill();
setupDescriptionPill();
}

updatePreviewBar();
Expand Down

0 comments on commit 23cacd9

Please sign in to comment.