remove redundant local variable (#2467)
This commit is contained in:
parent
01417f958a
commit
bdcd98f4a7
@ -933,8 +933,7 @@ class Plyr {
|
||||
* @param {Boolean} input - Whether to autoplay or not
|
||||
*/
|
||||
set autoplay(input) {
|
||||
const toggle = is.boolean(input) ? input : this.config.autoplay;
|
||||
this.config.autoplay = toggle;
|
||||
this.config.autoplay = is.boolean(input) ? input : this.config.autoplay;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user