From 04419cc24eb97599dc0a81adb9ef46f15251cbf5 Mon Sep 17 00:00:00 2001 From: Athou Date: Fri, 29 Mar 2013 09:38:35 +0100 Subject: [PATCH] instant scrolling --- src/main/webapp/js/directives.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index 165a85b9..18b33ff7 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -11,7 +11,7 @@ module.directive('scrollTo', function() { if (value) { $('html, body').animate({ scrollTop : $(element).offset().top + 'px' - }, 'fast'); + }, 0); } }); }