use body instead of classname, fix styling of the banner on invidious

This commit is contained in:
Booteille 2019-02-17 20:26:21 +01:00
parent 8eca34b755
commit d57f95fba6
No known key found for this signature in database
GPG Key ID: 7FC1ED300B74CD91
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ async function peertubeify(query: String) {
removeVideoLink();
const querySelector = isYouTube ? 'ytd-app' : '.pure-g';
const querySelector = isYouTube ? 'ytd-app' : 'body';
document.querySelector(querySelector).appendChild(link);
}).catch(removeVideoLink);
break;