aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/controls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/controls.js b/src/js/controls.js
index cd64c271..b0159115 100644
--- a/src/js/controls.js
+++ b/src/js/controls.js
@@ -708,7 +708,7 @@ const controls = {
const type = 'speed';
// Set the default speeds
- if (!utils.is.object(this.options.speed) || !Object.keys(this.options.speed).length) {
+ if (!utils.is.array(this.options.speed) || !this.options.speed.length) {
this.options.speed = [
0.5,
0.75,