Skip to content

Commit

Permalink
supportsCssTransitions가 IE에서 오동작하는 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dohoons committed Dec 28, 2016
1 parent a57ce12 commit f2169de
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions jquery.touchSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name jQuery.touchSlider
* @author dohoons ( http://dohoons.com/ )
*
* @version 1.1.7
* @version 1.1.8
* @since 201106
*
* @param Object settings 환경변수 오브젝트
Expand Down Expand Up @@ -60,15 +60,7 @@
addHoverTarget : "",
interval : 3500
},
supportsCssTransitions : (function (style) {
var prefixes = ['Webkit','Moz','Ms'];
for(var i=0, l=prefixes.length; i < l; i++ ) {
if( typeof style[prefixes[i] + 'Transition'] !== 'undefined') {
return true;
}
}
return false;
})(document.createElement('div').style)
supportsCssTransitions : 'transition' in document.documentElement.style || 'WebkitTransition' in document.documentElement.style
};

var opts = $.extend(true, {}, $.fn.touchSlider.defaults, settings);
Expand Down

0 comments on commit f2169de

Please sign in to comment.