Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Commit

Permalink
fix(collapse): remove reference to msTransition for IE10
Browse files Browse the repository at this point in the history
In IE10 msTransition exists but msTransitionEnd never fires. IE10 does however support standard transitionend.
Since IE<10 does not support transitions this line can be removed entirely.

This has already been done in Twitter Bootstrap. Reference here: twbs/bootstrap#4166
  • Loading branch information
themikelee authored and pkozlowski-opensource committed Apr 2, 2013
1 parent c2645f4 commit 55437b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/transition/transition.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ angular.module('ui.bootstrap.transition', [])
'WebkitTransition': 'webkitTransitionEnd',
'MozTransition': 'transitionend',
'OTransition': 'oTransitionEnd',
'msTransition': 'MSTransitionEnd',
'transition': 'transitionend'
};
var animationEndEventNames = {
'WebkitTransition': 'webkitAnimationEnd',
'MozTransition': 'animationend',
'OTransition': 'oAnimationEnd',
'msTransition': 'MSAnimationEnd',
'transition': 'animationend'
};
function findEndEventName(endEventNames) {
Expand Down

0 comments on commit 55437b1

Please sign in to comment.