vendor/assets/javascripts/base/_tour.js in active_frontend-15.0.22 vs vendor/assets/javascripts/base/_tour.js in active_frontend-15.0.23
- old
+ new
@@ -142,11 +142,11 @@
var element = $(item.id);
this.removeItems();
$.event.trigger({
- type: 'tourOnShowCallback',
+ type: 'bs.tour.on-show',
item: item
});
this.options.onShowCallback(item);
if (element.length !== 0 && element.is(':visible')) {
@@ -165,17 +165,17 @@
setTimeout(function () {
element.popover('show');
}, 225);
$.event.trigger({
- type: 'tourOnShownCallback',
+ type: 'bs.tour.on-shown',
item: item
});
this.options.onShownCallback(item);
} else {
if (this.options.skip) this.nextItem();
$.event.trigger({
- type: 'tourOnMissCallback',
+ type: 'bs.tour.on-miss',
item: item
});
this.options.onMissCallback(item);
}
};