Fix linting issues
This commit is contained in:
parent
d00d31961e
commit
56c0d7bd4d
@ -368,7 +368,7 @@ class Plyr {
|
|||||||
*/
|
*/
|
||||||
pause() {
|
pause() {
|
||||||
if (!this.playing || !is.function(this.media.pause)) {
|
if (!this.playing || !is.function(this.media.pause)) {
|
||||||
return;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.media.pause();
|
return this.media.pause();
|
||||||
@ -412,9 +412,9 @@ class Plyr {
|
|||||||
|
|
||||||
if (toggle) {
|
if (toggle) {
|
||||||
return this.play();
|
return this.play();
|
||||||
} else {
|
|
||||||
return this.pause();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return this.pause();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user