adding serviceItem and index to the slides variables
This commit is contained in:
parent
964eefb7de
commit
f4d034fe7c
3 changed files with 46 additions and 14 deletions
|
@ -175,11 +175,11 @@ Item {
|
|||
nextSlide();
|
||||
}
|
||||
} else if (itemType === "video") {
|
||||
clearText();
|
||||
/* clearText(); */
|
||||
nextSlide();
|
||||
}
|
||||
else if (itemType === "image") {
|
||||
clearText();
|
||||
/* clearText(); */
|
||||
nextSlide();
|
||||
}
|
||||
}
|
||||
|
@ -201,11 +201,11 @@ Item {
|
|||
--textIndex;
|
||||
}
|
||||
} else if (itemType === "video") {
|
||||
clearText();
|
||||
/* clearText(); */
|
||||
previousSlide();
|
||||
}
|
||||
else if (itemType === "image") {
|
||||
clearText();
|
||||
/* clearText(); */
|
||||
previousSlide();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue