projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3ed3f1
)
Triggering scroll event if page navigation occurred
author
Alexander Ebert
<ebert@woltlab.com>
Wed, 6 Feb 2013 21:07:53 +0000
(22:07 +0100)
committer
Alexander Ebert
<ebert@woltlab.com>
Wed, 6 Feb 2013 21:07:53 +0000
(22:07 +0100)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 7c9637bdde761b01abdee8f051b57887f18bc653..9605a4a7c6fa7c5e2f703db434016eb09c46e4cd 100755
(executable)
--- 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();
},
/**