I am using this syntax:
var slidesContainerElem = jQuery('.elementContainer');
var currSlideElem = jQuery('.element');
slidesContainerElem.transition({ x: -currSlideElem.position().left },750);
It works perfectly on desktop, but it fails on mobile. What am i doing wrong here?
I've found out. I think someone may face the same problem. It's simple:
You have to remove the space between colon and minus sign