use body instead of classname, fix styling of the banner on invidious
This commit is contained in:
parent
8eca34b755
commit
d57f95fba6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue