Skip to content

Commit

Permalink
Modernizr
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano di Lauro committed Nov 26, 2017
1 parent 86df600 commit 760adf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tradewind.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
var newVals = applyAnimationCss(instructions);
applyFinalCss(newVals);
finalPadding = locals.timing * 1000 + tradeWind.padding;
if (!Modernizr.csstransitions) {
if (w.Modernizr && !Modernizr.csstransitions) {
finalPadding = tradeWind.padding;
}
setTimeout(function() {
Expand Down

0 comments on commit 760adf4

Please # to comment.