We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3839dd7 commit 5a4295bCopy full SHA for 5a4295b
intro.js
@@ -1672,7 +1672,7 @@
1672
return this;
1673
},
1674
addStep: function(options) {
1675
- if (!this._options.hasOwnProperty('steps')) {
+ if (!this._options.steps) {
1676
this._options.steps = [];
1677
}
1678
@@ -1683,7 +1683,7 @@
1683
1684
1685
addSteps: function(steps) {
1686
- if (!steps.hasOwnProperty('length')) return;
+ if (!steps.length) return;
1687
1688
for(var index = 0; index < steps.length; index++) {
1689
this.addStep(steps[index]);
0 commit comments