Wilto/Dynamic-Carousel — Issue #57: Bug In JQuery Animate for move() function
Author: fadugyamfi
Created: 2012-01-07 23:35:20+00:00
State: open

Hi,

Discovered a bug in the current code that does not allow the "opt.namespace + '-aftermove'" code to be triggered. The jquery animation functionality at line 272 needs to change to the following code

.animate({ marginLeft: ui.moveTo + "%" }, { duration : opt.speed, queue : false, complete: function() {
$(this).trigger( opt.namespace + "-aftermove" );
}});