Skip to content

Commit

Permalink
style(prettier): fix prettier linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Duarte committed May 31, 2018
1 parent e426e9f commit 68ea8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/youtube-autoclose-ads.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ setInterval(() => {
},
({ normalAdWaitSeconds, videoAdWaitSeconds }) => {
const adClose: HTMLElement | null = document.querySelector(".video-ads .ytp-ad-overlay-close-button")
const videoAdClose: HTMLElement | null = document.querySelector('.video-ads .ytp-button')
const videoAdClose: HTMLElement | null = document.querySelector(".video-ads .ytp-button")
const videoAdDisplayed: boolean = !!document.querySelector(".ytp-ad-player-overlay-skip-or-preview")

if (adClose && !adFound) {
Expand Down

0 comments on commit 68ea8eb

Please sign in to comment.