Skip to content

Commit

Permalink
fix(poly): fallback for no transition keys. Closes #4191
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 6, 2015
1 parent 0adf975 commit 7dc27df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/utils/poly.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
}
}

// Fallback in case the keys don't exist at all
ionic.CSS.TRANSITION = ionic.CSS.TRANSITION || 'transition';

// The only prefix we care about is webkit for transitions.
var isWebkit = ionic.CSS.TRANSITION.indexOf('webkit') > -1;

Expand Down

0 comments on commit 7dc27df

Please sign in to comment.