Skip to content

Commit

Permalink
fix some some vendor prefix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gopatrik committed Apr 25, 2015
1 parent fa28d18 commit aebc354
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions space.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
if(scrollInElement <= (frames[currentFrame].duration / 2)){
frameTransition.enter.forEach(function (trans) {
for(var property in trans){
if (property == 'scale' || property == 'translate3d' || property == 'rotate'){
if (property == 'scale' || property == 'translate3d' || property == 'rotate' || property == 'rotate3d'){
props['transform'] += propValueToCssFormat(property, deltaValue(trans, scrollInElement*2, property));
}else{
props[property] = propValueToCssFormat(property, deltaValue(trans, scrollInElement*2, property));
Expand All @@ -308,7 +308,8 @@
};
});
}

props['-webkit-transform'] = props['transform'];
props['-moz-transform'] = props['transform'];
$(frames[currentFrame].selector).css(props);
};

Expand Down
4 changes: 2 additions & 2 deletions space.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aebc354

Please sign in to comment.