Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #13 from ChrisMcKenzie/master
Browse files Browse the repository at this point in the history
Fixed Issue where menus with one element do not display
  • Loading branch information
Yvonne Yip committed Jul 31, 2014
2 parents d771295 + 2464076 commit ec0bebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paper-menu-button-transition.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
return n.nodeType === Node.ELEMENT_NODE;
});
var itemDelay = offset + (1 - offset) / 2;
var itemDuration = this.duration * (1 - itemDelay) / (items.length - 1);
var itemDuration = this.duration * (1 - itemDelay) / items.length;
items.forEach(function(item, i) {
anims.push(new Animation(item, [{
'opacity': 0
Expand Down

0 comments on commit ec0bebe

Please sign in to comment.