[FIX] web: Tour step without element should not click on body
This commit is contained in:
@@ -650,10 +650,11 @@ var Tour = {
|
||||
step.autoComplete(tour);
|
||||
}
|
||||
|
||||
var $element = $(step.element);
|
||||
if ((step.element === "body" && step.backdrop) || !$element.size()) return;
|
||||
|
||||
$(".popover.tour [data-role='next']").click();
|
||||
|
||||
var $element = $(step.element);
|
||||
if (!$element.size()) return;
|
||||
if (state.log === "events") console.log("Event handlers:", $element[0], $element.getHandlers());
|
||||
|
||||
var click_event = function(type) {
|
||||
|
||||
Reference in New Issue
Block a user