I've made a simple slideshow in a div, see my fiddle here: https://jsfiddle.net/5m9Lgj7o/ It's working fine so far.
But I have a css transition for the table:
.gallery-table {
transition: left 0.5s;
}
The problem is, that when the transition has not finished yet, the calculation of "actLeft" is wrong when clicking to quick on the left or right controls.
How can I tell my functions leftControl.click() and rightControl.click() to wait until transition has ended? Or is this the wrong way?
I tried one() and queue() and delay(), but I don't get the solution...