Fix linting issues

This commit is contained in:
Sam Potts 2020-01-13 16:38:12 +00:00
parent d00d31961e
commit 56c0d7bd4d

View File

@ -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();
} }
/** /**