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:
9a130ab
)
Fixed top links for dynamically fetched content
author
Alexander Ebert
<ebert@woltlab.com>
Wed, 24 Oct 2012 14:07:26 +0000
(16:07 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Wed, 24 Oct 2012 14:07:26 +0000
(16:07 +0200)
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 0d4cc98ff2191e6c58fb216a6b360605cb4eef18..d0df0e1750e33756a7f749ce5ae39047b780d24f 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-3750,7
+3750,7
@@
WCF.Effect.SmoothScroll = WCF.Effect.Scroll.extend({
*/
init: function() {
var self = this;
- $(
'a[href$=#top],a[href$=#bottom]').click(
function() {
+ $(
document).on('click', 'a[href$=#top],a[href$=#bottom]',
function() {
var $target = $(this.hash);
self.scrollTo($target, true);