Skip to content

Commit

Permalink
Fixes static animation onComplete event
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Nov 1, 2015
1 parent 1e64983 commit 34ea9f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
2 changes: 2 additions & 0 deletions src/definitions/modules/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ $.fn.transition = function() {
module.show();
}
else {
module.verbose('Static animation completed');
module.restore.conditions();
settings.onComplete.call(element);
}
}
},
Expand Down

0 comments on commit 34ea9f9

Please sign in to comment.