madrobby/zepto — Issue #392: Animating scrollTop
Author: gingerbeardman
Created: 2012-02-09 14:58:53+00:00
State: open

The following works in jQuery but not zeptojs. Am I missing something?

```javascript
$(function() {
$('#top').click(
function (e) {
$('html, body').animate({scrollTop: '0px'}, 800);
return false;
}
);
});
```