Unneeded else has been removed within the play() method.
This commit is contained in:
parent
ba8d7831a7
commit
7adc2bc6c8
@ -316,9 +316,9 @@ class Plyr {
|
||||
}).catch(() => {
|
||||
this.media.play();
|
||||
});
|
||||
} else {
|
||||
return this.media.play();
|
||||
}
|
||||
|
||||
return this.media.play();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user