Browse Source

Non queued animations trigger complete event immediately

pull/1944/head
jlukic 9 years ago
parent
commit
a957a5cfde
1 changed files with 4 additions and 0 deletions
  1. 4
      src/definitions/modules/transition.js

4
src/definitions/modules/transition.js

@ -176,6 +176,10 @@ $.fn.transition = function() {
module.debug('Animation is already occurring, will not execute repeated animation', settings.animation);
return false;
}
else {
module.debug('New animation started, completing previous early', settings.animation);
module.complete();
}
}
if( module.can.animate() ) {
module.set.animating(settings.animation);

Loading…
Cancel
Save