];
return this._super();
},
];
return this._super();
},
- continue: function () {
return (this.isCurrentStep('part-2') || this.isCurrentStep('show-tutorials')) && !this.tour.ended();
},
});
return (this.isCurrentStep('part-2') || this.isCurrentStep('show-tutorials')) && !this.tour.ended();
},
});
$('.popover.tour').remove();
},
start: function () {
$('.popover.tour').remove();
},
start: function () {
- if (this.continue() || ((this.currentStepIndex() === 0) && !this.tour.ended())) {
+ if (this.resume() || ((this.currentStepIndex() === 0) && !this.tour.ended())) {
window.location.replace(newUrl);
}
},
window.location.replace(newUrl);
}
},
- continue: function () {
// Override if necessary
return this.currentStepIndex() === 0;
},
// Override if necessary
return this.currentStepIndex() === 0;
},
];
return this._super();
},
];
return this._super();
},
- continue: function () {
return this.isCurrentStep('post-page') && !this.tour.ended();
},
trigger: function () {
return this.isCurrentStep('post-page') && !this.tour.ended();
},
trigger: function () {
- return (this.continue() && this.testUrl(/^\/blog\/[0-9]+\/\?enable_editor=1/)) || this._super();
+ return (this.resume() && this.testUrl(/^\/blog\/[0-9]+\/\?enable_editor=1/)) || this._super();
];
return this._super();
},
];
return this._super();
},
- continue: function () {
return this.isCurrentStep('event-page') && !this.tour.ended();
},
trigger: function () {
return this.isCurrentStep('event-page') && !this.tour.ended();
},
trigger: function () {
- return (this.continue() && this.testUrl(/^\/event\/[0-9]+\/\?enable_editor=1/)) || this._super();
+ return (this.resume() && this.testUrl(/^\/event\/[0-9]+\/\?enable_editor=1/)) || this._super();
];
return this._super();
},
];
return this._super();
},
- continue: function () {
return this.isCurrentStep('product-page') && !this.tour.ended();
},
trigger: function (url) {
return this.isCurrentStep('product-page') && !this.tour.ended();
},
trigger: function (url) {
- return (this.continue() && this.testUrl(/^\/shop\/product\/[0-9]+\/\?enable_editor=1/)) || this._super();
+ return (this.resume() && this.testUrl(/^\/shop\/product\/[0-9]+\/\?enable_editor=1/)) || this._super();