Skip to content

Commit

Permalink
fix(ionicConfig): Chrome regression no longer allows integer transiti…
Browse files Browse the repository at this point in the history
…on duration times
  • Loading branch information
perrygovier committed Apr 24, 2015
1 parent 91de7ce commit 34ed2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/service/ionicConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ IonicModule

function setStyles(ctrl, opacity, titleX, backTextX) {
var css = {};
css[ionic.CSS.TRANSITION_DURATION] = d.shouldAnimate ? '' : 0;
css[ionic.CSS.TRANSITION_DURATION] = d.shouldAnimate ? '' : '0ms';
css.opacity = opacity === 1 ? '' : opacity;

ctrl.setCss('buttons-left', css);
Expand Down

0 comments on commit 34ed2d0

Please sign in to comment.