Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed -ms- prefix

  • Loading branch information...
commit 35331f184ea7971dd43e9df08133b493617794a9 1 parent d34f284
@snookca authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 preparetransition.js
View
4 preparetransition.js
@@ -22,12 +22,12 @@ $.fn.prepareTransition = function(){
return this.each(function(){
var el = $(this);
// remove the transition class upon completion
- el.one('TransitionEnd webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd', function(){
+ el.one('TransitionEnd webkitTransitionEnd transitionend oTransitionEnd', function(){
el.removeClass('is-transitioning');
});
// check the various CSS properties to see if a duration has been set
- var cl = ["transition-duration", "-moz-transition-duration", "-webkit-transition-duration", "-o-transition-duration", "-ms-transition-duration"];
+ var cl = ["transition-duration", "-moz-transition-duration", "-webkit-transition-duration", "-o-transition-duration"];
var duration = 0;
$.each(cl, function(idx, itm){
duration || (duration = parseFloat( el.css( itm ) ));
Please sign in to comment.
Something went wrong with that request. Please try again.