Skip to content

Commit

Permalink
updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rahgurung committed Oct 5, 2020
1 parent 2388a08 commit b5028be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
<p align="center">
<img src="https://github.com/gurrrung/YourTube/workflows/YourTube/badge.svg" align="center">
</p>
<p align="center">
<img src="https://user-images.githubusercontent.com/30543444/95109474-41f5a200-075a-11eb-937a-70a9fa85b447.gif" align="center">
</p>

## Introduction

Expand Down
Binary file added Yourtube.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/features/expand-description.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import elementReady from 'element-ready';
export default async function () {
await elementReady('yt-formatted-string.more-button.style-scope.ytd-video-secondary-info-renderer');
await elementReady('paper-button#less.style-scope.ytd-expander');
let isCollapsed = $('ytd-expander.style-scope.ytd-video-secondary-info-renderer').attr('collapsed');
const isCollapsed = $('ytd-expander.style-scope.ytd-video-secondary-info-renderer').attr('collapsed');

if (typeof isCollapsed !== typeof undefined && isCollapsed !== false) {
$('yt-formatted-string.more-button.style-scope.ytd-video-secondary-info-renderer').trigger('click');
Expand Down

0 comments on commit b5028be

Please sign in to comment.