From 829793120c47bf9468b6f8a8088d8e501e029149 Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 5 Jun 2013 14:45:29 +0200 Subject: [PATCH] replaced spaces with tabs --- src/main/webapp/js/directives.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/js/directives.js b/src/main/webapp/js/directives.js index 56742af7..abbc6a6a 100644 --- a/src/main/webapp/js/directives.js +++ b/src/main/webapp/js/directives.js @@ -145,9 +145,9 @@ module.directive('scrollTo', [ '$timeout', function($timeout) { var elemBottom = elemTop + $(element).height(); if (!force && (elemTop > docTop) && (elemBottom < docBottom)) { - // element is entirely visible - return; - } else { + // element is entirely visible + return; + } else { var offset = parseInt(attrs.scrollToOffset, 10); var scrollTop = $(element).offset().top + offset; $('html, body').animate({