Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix append to DOM #143

Merged
merged 1 commit into from
Feb 11, 2022
Merged

Fix append to DOM #143

merged 1 commit into from
Feb 11, 2022

Conversation

dnicolson
Copy link
Contributor

Description

This pull request delays appending to the DOM until after the ytd-update-grid-state-action event is dispatched.

Motivation and Context

Recent changes have resulted in some elements being unavailable on the DOMContentLoaded event.

How Has This Been Tested?

Manually in Chrome with a custom YouTube playlist.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@avallete avallete added the safe to test Use to start running CI on the PR label Feb 11, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #143 (58b2177) into master (3001009) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #143   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines           52        52           
  Branches         7         7           
=========================================
  Hits            52        52           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7593bc...58b2177. Read the comment docs.

Copy link
Owner

@avallete avallete left a comment

Choose a reason for hiding this comment

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

Thank's for your contribution 👍

@avallete avallete merged commit a6de26a into avallete:master Feb 11, 2022
avallete pushed a commit that referenced this pull request Feb 11, 2022
## [1.5.6](v1.5.5...v1.5.6) (2022-02-11)

### Bug Fixes

* append to dom ([#143](#143)) ([a6de26a](a6de26a))
@avallete
Copy link
Owner

🎉 This PR is included in version 1.5.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released safe to test Use to start running CI on the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants