From: Alexander Ebert Date: Wed, 6 Feb 2013 21:07:53 +0000 (+0100) Subject: Triggering scroll event if page navigation occurred X-Git-Tag: 2.0.0_Beta_1~499^2~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cc5eff08340fbfa65bfd6344f58d42b8f8700b3;p=GitHub%2FWoltLab%2FWCF.git Triggering scroll event if page navigation occurred --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 7c9637bdde..9605a4a7c6 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2049,6 +2049,9 @@ WCF.Action.Scroll = Class.extend({ // watch for scroll event this.start(); + + // check if browser navigated back and jumped to offset before JavaScript was loaded + this._scroll(); }, /**