Remove redundant check

The constructor ensures that autoplay is false for mobile devices at this point.
This commit is contained in:
Eric Robinson
2017-12-12 13:11:12 -05:00
parent c0e868484a
commit bd4426ff2b
+1 -1
View File
@@ -435,7 +435,7 @@ class APlayer {
}
// autoplay
if (this.option.autoplay && !this.isMobile) {
if (this.option.autoplay) {
this.play();
}