From e0b74ad269e3dc11ae208c9033725d3342468f18 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 24 Oct 2012 16:07:26 +0200 Subject: [PATCH] Fixed top links for dynamically fetched content --- 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 0d4cc98ff2..d0df0e1750 100755 --- 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); -- 2.20.1