Made animation clearer

This commit is contained in:
Max Lynch
2013-10-09 14:18:36 -05:00
parent 2da25bf5d2
commit 2fafea1da3
5 changed files with 6 additions and 14 deletions

View File

@ -37,7 +37,6 @@
// Slide the content over left by the button width
content.style.right = buttonsWidth + 'px';
content.style.left = -buttonsWidth + 'px';
content.classList.add('slide-left');
}
});
},
@ -53,7 +52,6 @@
content = item;
}
content.classList.remove('slide-left');
content.style.right = 0;
content.style.left = 0;
});