Browse Source

Fixes static animation onComplete event

pull/3130/merge
Jack 9 years ago
parent
commit
eaec2fb776
2 changed files with 3 additions and 0 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/transition.js

1
RELEASE-NOTES.md

@ -11,6 +11,7 @@
**Major Bug Fixes**
- **Checkbox/Dropdown/Search** - Fixed issue where using `.trigger('change')` would not fire native `change` event. Only triggering event handlers attached with jQuery #3108
- **Transition** - Fixed bug where static transitions (those that dont animate in/out of view) would not fire `onComplete` event
**Bugs**
- **Divider/Step/Modal/AD** - Fixes 1px jump at `@mobileBreakpoint` caused by incorrect edge conditions in media query #3180 **THanks @mdehoog**

2
src/definitions/modules/transition.js

@ -228,7 +228,9 @@ $.fn.transition = function() {
module.show();
}
else {
module.verbose('Static animation completed');
module.restore.conditions();
settings.onComplete.call(element);
}
}
},

Loading…
Cancel
Save