From af2f9b23897542ca1fde6ad5d760ed3c2ac96092 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 27 Feb 2012 19:45:53 +0100 Subject: [PATCH] Fixes smooth scroll effect --- 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 0c851cdb29..00779e0138 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2872,7 +2872,7 @@ WCF.Effect.SmoothScroll.prototype = { * Initializes effect. */ init: function() { - $('a[href=#top],a[href=#bottom]').click(function() { + $('a[href$=#top],a[href$=#bottom]').click(function() { var $target = $(this.hash); if ($target.length) { var $targetOffset = $target.getOffsets().top; -- 2.20.1