From: Matthias Schmidt Date: Sun, 13 Jan 2013 14:55:47 +0000 (+0100) Subject: Fixes WCF.Effect.Scroll X-Git-Tag: 2.0.0_Beta_1~569^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=db316c8f3a8590f060556bd7d799dc3683174b14;p=GitHub%2FWoltLab%2FWCF.git Fixes WCF.Effect.Scroll --- 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();