From db316c8f3a8590f060556bd7d799dc3683174b14 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 13 Jan 2013 15:55:47 +0100 Subject: [PATCH] Fixes WCF.Effect.Scroll --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 05fb2a2fa9..a4d9153921 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3932,7 +3932,7 @@ WCF.Effect.Scroll = Class.extend({ return true; } - var $elementOffset = element.getOffsets().top; + var $elementOffset = element.getOffsets('offset').top; var $documentHeight = $(document).height(); var $windowHeight = $(window).height(); -- 2.20.1