fix
This commit is contained in:
@@ -15,7 +15,8 @@ const driverObj__ = driver({
|
||||
steps: [
|
||||
{ element: '.Guide_1_1_1', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_27', popover: { title: '', description: 'You can change the mannequin and other settings in Workspace.' } },
|
||||
{ element: '.Guide_1_28', popover: { title: '', description: 'Change the mannequin here.' } },
|
||||
{ element: '.Guide_1_28', popover: { title: '', description: 'Change the mannequin here.', side: "right",align: 'center' } },
|
||||
{ element: '.Guide_1_28', popover: { title: '', description: 'Change the mannequin here.', side: "right",align: 'end' } },
|
||||
{ element: '.Guide_1_29', popover: { title: '', description: 'Select a mannequin of your choice from our system library.' } },
|
||||
|
||||
|
||||
@@ -110,9 +111,9 @@ const driverObj__ = driver({
|
||||
// options.config.stagePadding = 10
|
||||
// }
|
||||
if(
|
||||
options.state.activeIndex >= 2 && options.state.activeIndex < 3 ||
|
||||
options.state.activeIndex >= 5 && options.state.activeIndex < 8 ||
|
||||
options.state.activeIndex >= 13 && options.state.activeIndex < 15 ||
|
||||
// options.state.activeIndex >= 2 && options.state.activeIndex < 3 ||
|
||||
options.state.activeIndex >= 6 && options.state.activeIndex < 9 ||
|
||||
options.state.activeIndex >= 14 && options.state.activeIndex < 16 ||
|
||||
// options.state.activeIndex >= 24 && options.state.activeIndex < 25 ||
|
||||
driverObj__.isLastStep()
|
||||
){
|
||||
@@ -134,7 +135,6 @@ const driverObj__ = driver({
|
||||
}
|
||||
element = options.state.activeElement
|
||||
element.classList.add('Guide_')
|
||||
console.log(element);
|
||||
})
|
||||
|
||||
|
||||
@@ -156,12 +156,11 @@ const driverObj__ = driver({
|
||||
|
||||
|
||||
onNextClick:(element, step, options) =>{
|
||||
console.log(element,step,options);
|
||||
if(options.state.activeIndex == 2){
|
||||
driverObj__.moveTo(4)
|
||||
}else{
|
||||
driverObj__.moveNext()
|
||||
}
|
||||
// if(options.state.activeIndex == 2){
|
||||
// driverObj__.moveTo(4)
|
||||
// }else{
|
||||
// driverObj__.moveNext()
|
||||
// }
|
||||
}
|
||||
});
|
||||
function addDiv(element){
|
||||
@@ -191,7 +190,6 @@ function removeDiv(element){
|
||||
|
||||
const openGuide = () =>{
|
||||
let isBeginner = JSON.parse(getCookie('isBeginner'))
|
||||
console.log(isBeginner);
|
||||
let data
|
||||
// console.log(isBeginner);
|
||||
if(isBeginner){
|
||||
|
||||
Reference in New Issue
Block a user