Skip to content

Commit

Permalink
Update jquery.animate-enhanced.js
Browse files Browse the repository at this point in the history
Fixed bug when applying continuous value to left, top position during animation event
애니메이션 이벤트 중 좌측 상단에 연속 값을 적용했을 때의 버그 수정
  • Loading branch information
telltrue33 committed Jun 15, 2017
1 parent 6153ab3 commit c7c46dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/src/jquery.animate-enhanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ Changelog:
}

var is = jQuery.inArray(prop, cssTransitionProperties) > -1;
if ((prop == 'width' || prop == 'height' || prop == 'opacity') && (parseFloat(value) === parseFloat(element.css(prop)))) is = false;
if ((prop == 'width' || prop == 'height' || prop == 'opacity' || prop == 'left' || prop == 'top') && (parseFloat(value) === parseFloat(element.css(prop)))) is = false;
return is;
}

Expand Down

0 comments on commit c7c46dc

Please sign in to comment.