instant scrolling

This commit is contained in:
Athou
2013-03-29 09:38:35 +01:00
parent 072924baa5
commit 04419cc24e

View File

@@ -11,7 +11,7 @@ module.directive('scrollTo', function() {
if (value) {
$('html, body').animate({
scrollTop : $(element).offset().top + 'px'
}, 'fast');
}, 0);
}
});
}