aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorArthur Hulsman <a.hulsman@orangegames.com>2018-03-09 13:21:19 +0100
committerArthur Hulsman <a.hulsman@orangegames.com>2018-03-09 13:21:19 +0100
commit7adc2bc6c8eeb7ae0651d536aa561cec2e37a830 (patch)
tree04d23cd33889b3c1b0288e3f675e9f7ac67486ee /src/js
parentba8d7831a7eb374e4ccf31e83a731019e900c7a3 (diff)
downloadplyr-7adc2bc6c8eeb7ae0651d536aa561cec2e37a830.tar.lz
plyr-7adc2bc6c8eeb7ae0651d536aa561cec2e37a830.tar.xz
plyr-7adc2bc6c8eeb7ae0651d536aa561cec2e37a830.zip
Unneeded else has been removed within the play() method.
Diffstat (limited to 'src/js')
-rw-r--r--src/js/plyr.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 7b4ddd5b..04913046 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -316,9 +316,9 @@ class Plyr {
}).catch(() => {
this.media.play();
});
- } else {
- return this.media.play();
}
+
+ return this.media.play();
}
/**