mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2024-11-13 10:17:39 +01:00
Prevented upload button from appearing on invidious.
It still appears if the video player controls are disabled.
This commit is contained in:
parent
630b099fd6
commit
45a64fcb03
1 changed files with 3 additions and 0 deletions
|
@ -756,6 +756,9 @@ function getControls() {
|
|||
|
||||
//adds all the player controls buttons
|
||||
async function createButtons() {
|
||||
// Don't add controls on Invidious yet
|
||||
if (onInvidious) return;
|
||||
|
||||
let result = await wait(getControls).catch();
|
||||
|
||||
//set global controls variable
|
||||
|
|
Loading…
Reference in a new issue