Skip to content

Commit

Permalink
fix(youtube): fix showing verified badge
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Jul 10, 2019
1 parent ebed3f5 commit 0a01445
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion background/sources/videos/youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default {
).thumbnails[0].url,
name: user.text,
verified: item.ownerBadges && item.ownerBadges.some((badge) => {
badge.tooltip == 'Verified';
return badge.tooltip == 'Verified';
}),
},
url: videoUrl,
Expand Down
1 change: 0 additions & 1 deletion content/pause.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ const $button = get([

if ($button && getComputedStyle($button).display !== 'none') {
$button.click();
true;
}

0 comments on commit 0a01445

Please sign in to comment.