rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.3k stars 864 forks source link

Bug in the jquery.transit.min.js #197

Closed mr-pascal closed 3 years ago

mr-pascal commented 10 years ago

It seems that there's a bug in the jquery.transit.min.js which can be downloaded from http://ricostacruz.com/jquery.transit/jquery.transit.min.js because: If I use $.transit.useTransitionEnd = true; in my javascript code, so I can listen to the transitionend event, for example the $('.element').transition({ x: '-=272' }, 200); only work ONE time and nothing happen if I use a .transition() on this element again (even with other properties). But if I use the non-minified version from https://github.com/rstacruz/jquery.transit/blob/master/jquery.transit.js and even when I minify this jquery.transit.js it works like it should do. That's why I assume that there have to be an bug in the downloadable jquery.transit.min.js. But it's dificult to debug minified files to I couldn't figure out what's the matter with it. Does anybody have the same issue?

Greetings